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

All Samples(16)  |  Call(16)  |  Derive(0)  |  Import(0)

src/c/a/calibre-HEAD/src/calibre/library/database2.py   calibre(Download)
        postimport = []
        for path in paths:
            mi = metadata.next()
            self._add_newbook_tag(mi)
            format = formats.next()

src/o/b/objectpath-0.2/objectpath/core/interpreter.py   objectpath(Download)
									return skip(fst,n)
								elif n==0:
									return fst.next()
								else:
									fst=list(fst)

src/o/b/ObjectPath-HEAD/ObjectPathPy/core/interpreter.py   ObjectPath(Download)
									return skip(fst,n)
								elif n==0:
									return fst.next()
								else:
									fst=list(fst)

src/l/a/langacore.kit.common-0.2.4/src/langacore/kit/files/finder.py   langacore.kit.common(Download)
            return existing_paths
        else:
            return existing_paths.next()
    except StopIteration:
        raise IOError("File not found.")

src/o/r/Orange-Bioinformatics-2.5.25/orangecontrib/bio/obiGeneMania.py   Orange-Bioinformatics(Download)
        name = obiTaxonomy.name(taxid).replace(" ", "_")
        networks = csv.reader(open(pjoin(name, "networks.txt")), delimiter="\t")
        networks.next() # Header
        networks = list(networks)
 
            identifiers = csv.reader(open(pjoin(name, "identifier_mappings.txt"), "rb"),
                                    delimiter="\t")
            identifiers.next() # skip header
            identifiers = list(identifiers)
            genes = sorted(set(r[0] for r in identifiers))

src/l/c/lck.common-0.4.5/src/lck/files/finder.py   lck.common(Download)
            return existing_paths
        else:
            return existing_paths.next()
    except StopIteration:
        raise IOError("File not found.")

src/k/i/kitpy-HEAD/src/lck/files/finder.py   kitpy(Download)
            return existing_paths
        else:
            return existing_paths.next()
    except StopIteration:
        raise IOError("File not found.")

src/q/u/quattroshapes-HEAD/quattroshapes/tilestache-seed.py   quattroshapes(Download)
def c():
    yield coordinates.next()
 
if __name__ == '__main__':
    options, zooms = parser.parse_args()

src/m/o/mongoengine-HEAD/tests/test_queryset.py   mongoengine(Download)
        people = self.Person.objects(age=20)
        self.assertEqual(len(people), 1)
        person = people.next()
        self.assertEqual(person.name, "User A")
        self.assertEqual(person.age, 20)
        people = self.Person.objects(age=20).scalar('name')
        self.assertEqual(len(people), 1)
        person = people.next()
        self.assertEqual(person, "User A")
 

src/c/o/conjure-HEAD/tests/test_query.py   conjure(Download)
        users = User.objects.filter(User.age == 20)
        self.assertEqual(len(users), 1)
        user = users.next()
        self.assertEqual(user.name, 'User A')
        self.assertEqual(user.age, 20)

  1 | 2  Next