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

All Samples(10)  |  Call(4)  |  Derive(0)  |  Import(6)

src/b/i/biopython-1.63/Bio/Crystal/__init__.py   biopython(Download)
from functools import reduce
 
from Bio._py3k import map
from Bio._py3k import basestring
 
    def __eq__(self, other):
        if len(self.data) != len(other.data):
            return 0
        ok = reduce(lambda x, y: x and y, map(lambda x, y: x == y, self.data, other.data))
        return ok

src/b/i/biopython-HEAD/Bio/Crystal/__init__.py   biopython(Download)
from functools import reduce
 
from Bio._py3k import map
from Bio._py3k import basestring
 
    def __eq__(self, other):
        if len(self.data) != len(other.data):
            return 0
        ok = reduce(lambda x, y: x and y, map(lambda x, y: x == y, self.data, other.data))
        return ok

src/b/i/biopython-1.63/Bio/MaxEntropy.py   biopython(Download)
from functools import reduce
 
from Bio._py3k import map
 
import numpy
                             alphas, e_empirical,
                             max_newton_iterations, newton_converge)
        diff = map(lambda x, y: numpy.fabs(x-y), alphas, nalphas)
        diff = reduce(lambda x, y: x+y, diff, 0)
        alphas = nalphas

src/b/i/biopython-HEAD/Bio/MaxEntropy.py   biopython(Download)
from functools import reduce
 
from Bio._py3k import map
 
import numpy
                             alphas, e_empirical,
                             max_newton_iterations, newton_converge)
        diff = map(lambda x, y: numpy.fabs(x-y), alphas, nalphas)
        diff = reduce(lambda x, y: x+y, diff, 0)
        alphas = nalphas

src/b/i/biopython-1.63/Bio/Wise/dnal.py   biopython(Download)
from Bio._py3k import getoutput as _getoutput
from Bio._py3k import zip
from Bio._py3k import map
 
from Bio import Wise

src/b/i/biopython-HEAD/Bio/Wise/dnal.py   biopython(Download)
from Bio._py3k import getoutput as _getoutput
from Bio._py3k import zip
from Bio._py3k import map
 
from Bio import Wise