Working with Text: textwraphtml
# Returns a copy of the string text with whitespace common to all of its lines re- moved textwrap.dedent(text) ## useful in dealing with FASTA files # break up seq to a list of 80-line strings textwrap.wrap(seq, 80) # insert newlines every 80 characters textwrap.fill(seq, 80)
Persistent Storagepython
The dbm module provides an interface to the Unix 「(n)dbm」 library. Dbm objects behave like mappings (dictionaries), except that keys and values are always strings.app