Class not loading properly in CGI
tomchance at gmx.net
Sat Nov 22 19:24:50 CET 2003
I've got a very, very odd problem here which I can't seem to solve. I'm
creating a class instance in a CGI script, but that instance isn't
inheriting all of the methods associated with that file. Confused? Here's
what I mean:
the commands to check:
mydb = db.mySQL()
done in a python shell on my machine:
"['__doc__', '__init__', '__module__', 'connectTime', 'cursor', 'delete',
'fetchRow', 'fetchRows', 'info', 'insert', 'mysql', 'update']"
in the cgi script online:
['connectTime', 'cursor', 'mysql']
What on earth is going on?
More information about the Python-list