string

  • full name: tenpy.tools.string

  • parent module: tenpy.tools

  • type: module

Functions

is_non_string_iterable(x)

Check if x is a non-string iterable, (e.g., list, tuple, dictionary, np.ndarray)

to_mathematica_lists(a)

convert nested a to string readable by mathematica using curly brackets '{...}'.

vert_join(strlist[, valign, halign, delim])

Join multiline strings vertically such that they appear next to each other.

Module description

Tools for handling strings.