成人国产在线小视频_日韩寡妇人妻调教在线播放_色成人www永久在线观看_2018国产精品久久_亚洲欧美高清在线30p_亚洲少妇综合一区_黄色在线播放国产_亚洲另类技巧小说校园_国产主播xx日韩_a级毛片在线免费

資訊專欄INFORMATION COLUMN

Bioinformatics Programming Using Python

iflove / 472人閱讀

Bioinformatics Programming Using Python Chapter 6

Working with Text: textwrap

# 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 Storage

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.

"r" Open existing database for reading only (default)

"w" Open existing database for reading and writing

"c" Open database for reading and writing, creating it if it doesn’t exist

"n" Always create a new, empty database, open for reading and writing

文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請(qǐng)注明本文地址:http://systransis.cn/yun/37538.html

相關(guān)文章

發(fā)表評(píng)論

0條評(píng)論

最新活動(dòng)
閱讀需要支付1元查看
<