Hello,

A simple question: what is the syntax in a try/except for the OLE error?

Let say you want to catch OLE error:

try: print stuff
except OLEError: print 'ole'

Now the problem is that I just can't seem to find anything how the
exact grammar of this error! I have looked in the Python
documentation, as well as the pywin32 documentation, I have tried many
different ways of typing it, I googled around, but yet I just can't
find it.


Thanks
Bernard
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to