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

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

        def query_id(name, query):
    result = os.popen('grep "^' + str(query) + ';." ' + name).read()
    if result != "":
        return result
    else: return None
        


src/s/i/simple-nosql-db-HEAD/property_level.py   simple-nosql-db(Download)
            return id_
        else:
            register = backend.query_id(self.name, id_)
            if register is not None:
                start = register.find(";")+2
    def return_object(self, id_):
        id_ = str(id_)
        answer = backend.query_id(self.name, id_)
        if answer != None:
            return answer[:-1]

src/s/i/simple-nosql-db-HEAD/stacks.py   simple-nosql-db(Download)
            return db_object(id_ + "; " + register, self)
        else:
            register = backend.query_id(self.name, id_)
            if register is not None:
                start = register.find(";")+2
    def return_object(self, id_):
        id_ = str(id_)
        answer = backend.query_id(self.name, id_)
        if answer != None:
            return db_object(answer[:-1], self)