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

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 bruno. 42.desthuilli...@websiteburo.invalid 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

Re: ftp seems to get a delayed reaction.

2009-01-06 Thread Jeremy.Chen
On Jan 6, 7:56 pm, Antoon Pardon apar...@forel.vub.ac.be wrote: I have managed to prune the script, so I can post it here: == from ftplib import FTP bckrt = /tmpstor/rcpc42 def process():   print making directory   try:    

Re: Regex Generator From Multiple Files

2009-01-06 Thread Jeremy.Chen
On Jan 6, 8:48 am, MRAB goo...@mrabarnett.plus.com wrote: James Pruitt wrote: I am looking for a way given a number of files, say 3, that represent technical support tickets in the same format to generate regular expressions for the different fields automatically. An example from of one