> I just noticed you put OLEError before the colon you should have
> except: OLEError print "ole"

I doubt if that would work effectively.

> if that doesn't work you could just get rid of the OLEError bit 
> and all errors will be ignored.

And that is decidedly dangerous unless you are sure that all 
errors are safe to ignore. Which is rarely true.

> #COM Error: Unspecified failure - [line 540]
> #ERROR : OLE error 0x80020101
> Application.NewRenderShot()

To the OP:
Have you tried lookingup the error number on MSDN, 
or the error message on Google groups?

Both are powerful resources for deciphering OLE/COM errors.

Alan G.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to