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

All Samples(68)  |  Call(45)  |  Derive(0)  |  Import(23)

src/b/i/biopython-1.63/Bio/Entrez/__init__.py   biopython(Download)
 
#Importing these functions with leading underscore as not intended for reuse
from Bio._py3k import urlopen as _urlopen
from Bio._py3k import urlencode as _urlencode
from Bio._py3k import HTTPError as _HTTPError
        if post:
            #HTTP POST
            handle = _urlopen(cgi, data=_as_bytes(options))
        else:
            #HTTP GET
            cgi += "?" + options
            handle = _urlopen(cgi)

src/b/i/biopython-HEAD/Bio/Entrez/__init__.py   biopython(Download)
 
#Importing these functions with leading underscore as not intended for reuse
from Bio._py3k import urlopen as _urlopen
from Bio._py3k import urlencode as _urlencode
from Bio._py3k import HTTPError as _HTTPError
        if post:
            #HTTP POST
            handle = _urlopen(cgi, data=_as_bytes(options))
        else:
            #HTTP GET
            cgi += "?" + options
            handle = _urlopen(cgi)

src/b/i/biopython-1.63/Bio/SCOP/__init__.py   biopython(Download)
 
    """
    from Bio._py3k import urlopen, urlencode
 
    # Open a handle to SCOP.
    options = urlencode(params)
    if get:  # do a GET
        if options:
            cgi += "?" + options
        handle = urlopen(cgi)
        handle = urlopen(cgi)
    else:    # do a POST
        handle = urlopen(cgi, data=options)
    return handle
 

src/b/i/biopython-HEAD/Bio/SCOP/__init__.py   biopython(Download)
 
    """
    from Bio._py3k import urlopen, urlencode
 
    # Open a handle to SCOP.
    options = urlencode(params)
    if get:  # do a GET
        if options:
            cgi += "?" + options
        handle = urlopen(cgi)
        handle = urlopen(cgi)
    else:    # do a POST
        handle = urlopen(cgi, data=options)
    return handle
 

src/b/i/biopython-1.63/Bio/TogoWS/__init__.py   biopython(Download)
 
#Importing these functions with leading underscore as not intended for reuse
from Bio._py3k import urlopen as _urlopen
from Bio._py3k import urlencode as _urlencode
from Bio._py3k import quote as _quote
    #print(url)
    if post:
        handle = _urlopen(url, _as_bytes(_urlencode(post)))
    else:
        handle = _urlopen(url)

src/b/i/biopython-HEAD/Bio/TogoWS/__init__.py   biopython(Download)
 
#Importing these functions with leading underscore as not intended for reuse
from Bio._py3k import urlopen as _urlopen
from Bio._py3k import quote as _quote
 
    #print(url)
    if post:
        handle = _urlopen(url, _as_bytes(post))
    else:
        handle = _urlopen(url)

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
from Bio._py3k import Request as _Request
                       message,
                       {"User-Agent":"BiopythonClient"})
    handle = _urlopen(request)
 
    # Format the "Get" command, which gets the formatted results from qblast
                           message,
                           {"User-Agent":"BiopythonClient"})
        handle = _urlopen(request)
        results = _as_string(handle.read())
 

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
from Bio._py3k import Request as _Request
                       message,
                       {"User-Agent":"BiopythonClient"})
    handle = _urlopen(request)
 
    # Format the "Get" command, which gets the formatted results from qblast
                           message,
                           {"User-Agent":"BiopythonClient"})
        handle = _urlopen(request)
        results = _as_string(handle.read())
 

src/b/i/biopython-1.63/Bio/Motif/_Motif.py   biopython(Download)
        The parameters from **kwds are passed directly to the weblogo server.
        """
        from Bio._py3k import urlopen, urlencode, Request
 
        al= self._to_fasta()
        data = urlencode(values)
        req = Request(url, data)
        response = urlopen(req)
        with open(fname,"w") as f:
            im=response.read()

src/b/i/biopython-HEAD/Bio/Motif/_Motif.py   biopython(Download)
        The parameters from **kwds are passed directly to the weblogo server.
        """
        from Bio._py3k import urlopen, urlencode, Request
 
        al= self._to_fasta()
        data = urlencode(values)
        req = Request(url, data)
        response = urlopen(req)
        with open(fname,"w") as f:
            im=response.read()

  1 | 2 | 3  Next