成人无码视频,亚洲精品久久久久av无码,午夜精品久久久久久毛片,亚洲 中文字幕 日韩 无码

資訊專欄INFORMATION COLUMN

Bioinformatics Programming Using Python

iflove / 527人閱讀

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)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請注明本文地址:http://m.hztianpu.com/yun/37538.html

相關(guān)文章

發(fā)表評論

0條評論

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