Catching class exceptions

Fredrik Lundh fredrik at effbot.org
Mon Nov 13 18:07:10 EST 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