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

All Samples(20)  |  Call(8)  |  Derive(2)  |  Import(10)

src/b/i/biopython-1.63/Bio/Phylo/BaseTree.py   biopython(Download)
from Bio._py3k import filter
from Bio._py3k import basestring
from Bio._py3k import unicode
 
import collections
    def match(node):
        return unicode(node) == target
    return match
 
 
        def pair_as_kwarg_string(key, val):
            if isinstance(val, basestring):
                return "%s='%s'" % (key, _utils.trim_str(unicode(val), 60,
                    u'...'))
            return "%s=%s" % (key, val)

src/b/i/biopython-HEAD/Bio/Phylo/BaseTree.py   biopython(Download)
from Bio._py3k import filter
from Bio._py3k import basestring
from Bio._py3k import unicode
 
import collections
    def match(node):
        return unicode(node) == target
    return match
 
 
        def pair_as_kwarg_string(key, val):
            if isinstance(val, basestring):
                return "%s='%s'" % (key, _utils.trim_str(unicode(val), 60,
                    u'...'))
            return "%s=%s" % (key, val)

src/b/i/biopython-1.63/Bio/SearchIO/BlastIO/blast_xml.py   biopython(Download)
 
 
from Bio._py3k import _as_bytes, _bytes_to_string, unicode
_empty_bytes_string = _as_bytes("")
 
    def characters(self, content):
        content = escape(unicode(content))
        for a, b in ((u'"', u'"'), (u"'", u''')):
            content = content.replace(a, b)
        self.write(content)

src/b/i/biopython-HEAD/Bio/SearchIO/BlastIO/blast_xml.py   biopython(Download)
 
 
from Bio._py3k import _as_bytes, _bytes_to_string, unicode
_empty_bytes_string = _as_bytes("")
 
    def characters(self, content):
        content = escape(unicode(content))
        for a, b in ((u'"', u'"'), (u"'", u''')):
            content = content.replace(a, b)
        self.write(content)

src/b/i/biopython-1.63/Bio/Phylo/PhyloXMLIO.py   biopython(Download)
 
from Bio._py3k import basestring
from Bio._py3k import unicode
 
from Bio.Phylo import PhyloXML as PX
    elif isinstance(value, bool):
        return unicode(value).lower()
    return unicode(value)
 
 

src/b/i/biopython-HEAD/Bio/Phylo/PhyloXMLIO.py   biopython(Download)
 
from Bio._py3k import basestring
from Bio._py3k import unicode
 
from Bio.Phylo import PhyloXML as PX
    elif isinstance(value, bool):
        return unicode(value).lower()
    return unicode(value)
 
 

src/b/i/biopython-1.63/Bio/Entrez/Parser.py   biopython(Download)
from Bio._py3k import urlopen as _urlopen
from Bio._py3k import urlparse as _urlparse
from Bio._py3k import unicode
 
# The following four classes are used to add a member .attributes to integers,
class UnicodeElement(unicode):
    def __repr__(self):
        text = unicode.__repr__(self)
        try:
            attributes = self.attributes

src/b/i/biopython-HEAD/Bio/Entrez/Parser.py   biopython(Download)
from Bio._py3k import urlopen as _urlopen
from Bio._py3k import urlparse as _urlparse
from Bio._py3k import unicode
 
# The following four classes are used to add a member .attributes to integers,
class UnicodeElement(unicode):
    def __repr__(self):
        text = unicode.__repr__(self)
        try:
            attributes = self.attributes

src/b/i/biopython-1.63/BioSQL/BioSeq.py   biopython(Download)
"""
 
from Bio._py3k import unicode
 
from Bio import Alphabet

src/b/i/biopython-HEAD/BioSQL/BioSeq.py   biopython(Download)
"""
 
from Bio._py3k import unicode
 
from Bio import Alphabet