scripts/export/rfam_xml_dumper.py
def result_iterator(cursor, arraysize=1000):
    """
    An iterator that uses fetchmany to keep memory usage down
    """
    while True:
        results = cursor.fetchmany(arraysize)
        if not results:
            break
        for result in results:
            yield result

    An iterator that uses fetchmany to keep memory usage down
    
An iterator that uses fetchmany to keep memory usage down
An iterator that uses fetchmany to keep memory usage down
def result_iterator(cursor, arraysize=1000):
    while True:
        results = cursor.fetchmany(arraysize)
        if not results:
            break
        for result in results:
            yield result
def result_iterator ( cursor , arraysize = 1000 ) : while True : results = cursor . fetchmany ( arraysize ) if not results : break for result in results : yield result
An iterator that uses fetchmany to keep memory usage down
An iterator that uses fetchmany to keep memory usage down
"""
    An iterator that uses fetchmany to keep memory usage down
    """
cursor
arraysize