Daniel wrote: > db is out of scope, you have to pass it to the function:
What's wrong about module attributes? Regards, Björn -- BOFH excuse #418: Sysadmins busy fighting SPAM. -- http://mail.python.org/mailman/listinfo/python-list
Daniel wrote: > db is out of scope, you have to pass it to the function:
What's wrong about module attributes? Regards, Björn -- BOFH excuse #418: Sysadmins busy fighting SPAM. -- http://mail.python.org/mailman/listinfo/python-list