catching my own exception
Nikola Skoric
nick-news at net4u.hr
Sun Jun 20 18:13:48 EDT 2010
Dana Sun, 20 Jun 2010 10:53:08 +0200,
Peter Otten <__peter__ at web.de> kaze:
> Now in your case village.py is first run as the main script and then
[...]
> In the account module you indirectly raise village.ExceptionWithLongName and
> in __main__ you try to catch __main__.ExceptionWithLongName.
Phew. I get it now. You're my hero :-D I had to read it twice, but I
got it. Thanks a bunch!
--
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"
More information about the Python-list
mailing list