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

All Samples(22)  |  Call(12)  |  Derive(0)  |  Import(10)

src/b/i/biopython-1.63/Bio/Blast/NCBIWWW.py   biopython(Download)
 
from Bio._py3k import StringIO
from Bio._py3k import _as_string, _as_bytes
from Bio._py3k import urlopen as _urlopen
from Bio._py3k import urlencode as _urlencode
                           {"User-Agent":"BiopythonClient"})
        handle = _urlopen(request)
        results = _as_string(handle.read())
 
        # Can see an "\n\n" page while results are in progress,
    'Request Time of Execution' and RID would be 'Request Identifier'.
    """
    s = _as_string(handle.read())
    i = s.find("RID =")
    if i == -1:

src/b/i/biopython-HEAD/Bio/Blast/NCBIWWW.py   biopython(Download)
 
from Bio._py3k import StringIO
from Bio._py3k import _as_string, _as_bytes
from Bio._py3k import urlopen as _urlopen
from Bio._py3k import urlencode as _urlencode
                           {"User-Agent":"BiopythonClient"})
        handle = _urlopen(request)
        results = _as_string(handle.read())
 
        # Can see an "\n\n" page while results are in progress,
    'Request Time of Execution' and RID would be 'Request Identifier'.
    """
    s = _as_string(handle.read())
    i = s.find("RID =")
    if i == -1:

src/b/i/biopython-1.63/Bio/bgzf.py   biopython(Download)
import struct
 
from Bio._py3k import _as_bytes, _as_string
from Bio._py3k import open as _open
 
           "CRC is %s, not %s" % (crc, expected_crc)
    if text_mode:
        return block_size, _as_string(data)
    else:
        return block_size, data

src/b/i/biopython-HEAD/Bio/bgzf.py   biopython(Download)
import struct
 
from Bio._py3k import _as_bytes, _as_string
from Bio._py3k import open as _open
 
           "CRC is %s, not %s" % (crc, expected_crc)
    if text_mode:
        return block_size, _as_string(data)
    else:
        return block_size, data

src/b/i/biopython-1.63/Bio/SwissProt/__init__.py   biopython(Download)
from __future__ import print_function
 
from Bio._py3k import _as_string
 
 
        #This is for Python 3 to cope with a binary handle (byte strings),
        #or a text handle (unicode strings):
        line = _as_string(line)
        key, value = line[:2], line[5:].rstrip()
        if unread:

src/b/i/biopython-HEAD/Bio/SwissProt/__init__.py   biopython(Download)
from __future__ import print_function
 
from Bio._py3k import _as_string
 
 
        #This is for Python 3 to cope with a binary handle (byte strings),
        #or a text handle (unicode strings):
        line = _as_string(line)
        key, value = line[:2], line[5:].rstrip()
        if unread:

src/b/i/biopython-1.63/Tests/test_bgzf.py   biopython(Download)
from random import shuffle
 
from Bio._py3k import _as_bytes, _as_string
_empty_bytes_string = _as_bytes("")
 
                old = _as_bytes(old)
            else:
                old = _as_string(old)
            h.close()
 
                old = _as_bytes(old)
            else:
                old = _as_string(old)
            h.close()
 

src/b/i/biopython-HEAD/Tests/test_bgzf.py   biopython(Download)
from random import shuffle
 
from Bio._py3k import _as_bytes, _as_string
_empty_bytes_string = _as_bytes("")
 
                old = _as_bytes(old)
            else:
                old = _as_string(old)
            h.close()
 
                old = _as_bytes(old)
            else:
                old = _as_string(old)
            h.close()
 

src/b/i/biopython-HEAD/Tests/test_SeqIO_online.py   biopython(Download)
 
from Bio.File import UndoHandle
from Bio._py3k import _as_string
 
#This lets us set the email address to be sent to NCBI Entrez:

src/b/i/biopython-1.63/Tests/test_SeqIO_online.py   biopython(Download)
 
from Bio.File import UndoHandle
from Bio._py3k import _as_string
 
#This lets us set the email address to be sent to NCBI Entrez: