Catching class exceptions

Fredrik Lundh fredrik at effbot.org
Tue Nov 14 00:07:10 CET 2000


Simon Foster wrote:
> >>> getopt.__file__
> 'getopt.pyc'
>
> I just get the name of the file.  No version or path info.
> Still not much wiser.

let me guess: your test script is called "getopt.py" ?

(if that's the case, rename the file, remove all PYC's,
and try again...)

</F>





More information about the Python-list mailing list