[Tutor] IOError: (0, 'Error')
Danny Yoo
dyoo at hkn.eecs.berkeley.edu
Mon Jan 2 21:01:52 CET 2006
> Everytime the program has to add a line is added to the file, the file
> is open, appended, then closed, in order to be able to read it at any
> point in time. This set of operations can happen several times a second,
> like 1-10 or so. In this case, every query to a MySQL database is
> printed, plus a few lines about the instance attributes.
Hi Bernard,
Hmm... weird. Quick question: is the program multithreaded?
> I have looked the built-in exception page in the Python docs, but I
> could not find the meaning of "0", and, well, 'Error' is not exactly a
> very descriptive term.
Yeah, that's a fairly useless error message there... *sigh*
More information about the Tutor
mailing list