Re: Is there some methods like 'datareader' in MySQLdb for handling mass data

2009-01-06 Thread Jeremy.Chen
On Jan 6, 7:29 pm, Bruno Desthuilliers wrote: > Jeremy.Chen a écrit : > > > hi all: > >   when I handled mass data table in mysql with python's MySQLdb lib, > > something frustrated me. I could't find any function like datareader, > > which yield one row by recording rows' anchor ,after each time

Re: Is there some methods like 'datareader' in MySQLdb for handling mass data

2009-01-06 Thread Bruno Desthuilliers
Jeremy.Chen a écrit : hi all: when I handled mass data table in mysql with python's MySQLdb lib, something frustrated me. I could't find any function like datareader, which yield one row by recording rows' anchor ,after each time I invoked 'read()' in a loop. I think you want cursor.fetchone(

Is there some methods like 'datareader' in MySQLdb for handling mass data

2009-01-06 Thread Jeremy.Chen
hi all: when I handled mass data table in mysql with python's MySQLdb lib, something frustrated me. I could't find any function like datareader, which yield one row by recording rows' anchor ,after each time I invoked 'read()' in a loop.fetchall or fetchmany just fetched all data in once, which t