[python-win32] pywin32 py2exe

2011-06-03 Thread Umesh Sharma
hi, i am working on outlook automation , in my code i am using dispatchwithevents method for capturing events of outlook as newmail ,itemsend .The code works fine in command line but after converting it into exe file using py2exe ,the generated exe file crashes . I am not using dispatch for

Re: [python-win32] Excel stopped working after reading in sheet names

2011-06-03 Thread Tim Golden
On 01/06/2011 16:07, Mark Mordeca wrote: Thanks for your reply. I tested this on another box and I did not get the error. I then tried different code that uses COM to manipulate Excel on my machine which I know works and has worked in the past and I ended up getting the error with that code.

Re: [python-win32] 'exit is not defined'

2011-06-03 Thread sharpblade
Why do you need a finally block there at all? Just terminate on the exception, there is no point in setting it to None then checking if its none. ~Tom On Fri, Jun 3, 2011 at 9:33 AM, Jacob Kruger jac...@mailzone.co.za wrote: Sorry, but replying on list now as well. Either way, seems that