Simple question about variables
Michel COMBE
michel.l.combe at free.fr
Sun Dec 1 03:27:11 EST 2002
I have a program which is made of 3 phases :
1. Read record set from MySQL
2. Process the data read
3. Write the result of the process to a file
I would like the 3 phases to be 3 procedures.
How can I manage to have the record set declared globally so that I can use
it from all 3 procedures ?
(Right now, it is declared locally in the first procedure by the statement
result=cursor.fetchall )
Regards
Michel Combe
More information about the Python-list
mailing list