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 strings with multilines vertically such that they appear next to each other.

Module description

Tools for handling strings.