Exception problems
Michael Hudson
mwh at python.net
Thu Dec 5 07:55:36 EST 2002
Chad Netzer <cnetzer at mail.arc.nasa.gov> writes:
> On Wednesday 04 December 2002 15:38, Richard Jones wrote:
> > I've just noticed that exceptions aren't caught in the following
> > situation:
>
> [snip]
>
> You need to post code instead of a vague description of what you
> tried to do. Otherwise, we can only guess at your meaning.
As Greg said, those of us who have seen this before didn't need any
more hints :)
There's a reason most of my 'script' python files contain:
#!/usr/bin/python
import prog_main_module
prog_main_module.main()
and nothing else.
Cheers,
M.
--
> Emacs is a fashion statement.
No, Gnus is a fashion statement. Emacs is clothing. Everyone
else is running around naked.
-- Karl Kleinpaste & Jonadab the Unsightly One, gnu.emacs.gnus
More information about the Python-list
mailing list