Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/s/e/seq_crumbs-HEAD/crumbs/utils/bin_utils.py   seq_crumbs(Download)
from crumbs.utils.file_formats import get_format, set_format
from crumbs.settings import get_setting
from crumbs.utils.tags import (OUTFILE, GUESS_FORMAT, BGZF, GZIP, BZIP2,
                               ERROR_ENVIRON_VARIABLE)
from crumbs import __version__ as version
        comp_kind = BGZF
    elif gzip:
        comp_kind = GZIP
    elif bzip2:
        comp_kind = BZIP2

src/s/e/seq_crumbs-HEAD/crumbs/utils/file_utils.py   seq_crumbs(Download)
 
from crumbs.utils.optional_modules import BgzfWriter
from crumbs.utils.tags import BGZF, GZIP, BZIP2
try:
    from crumbs.utils import BZ2File
        else:
            raise RuntimeError('bgzf is only available for seekable files')
    elif compression_kind == GZIP:
        fhand = GzipFile(fileobj=fhand)
    elif compression_kind == BZIP2: