"Roger Rohrbach" <[EMAIL PROTECTED]> writes:

> Now (and this may be slight OT): can someone please explain to a
> relative Python neophyte how it works??

How what works?  The try-except block?  http://docs.python.org/tut/node10.html

> I cannot grasp how the second statement in the try block can possibly
> be executed, given that the first statement raises an exception.

First you should change the code to just get particular exceptions and not all
exceptions.  This is the safest thing to do to guarantee your program's and
data integrity. 

The tutorial above will explain the syntax for exception handling in Python.
If it is not what you want to know, please, explain what is :-)

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to