Re: [python-win32] pywintypes.com_error: -2147417846 "Application busy"

2009-11-25 Thread Thomas Heller
Alexander Eisenhuth schrieb: > Hello list, > > I'm having a problem with a python COM Excel client that rarely gets the > exception pywintypes.com_error with the error code -2147417846. (means Excel > is > busy) Here the python code of the exception handling: > > [...] > try: > # write a

Re: [python-win32] Open files, round 2

2009-11-25 Thread Aahz
On Tue, Nov 24, 2009, niki wrote: > Aahz wrote: > >>> h = win32file.CreateFile(fname, win32file.GENERIC_READ, 0, None, >>> win32file.OPEN_EXISTING, win32file.FILE_FLAG_NO_BUFFERING, None) > > I used OPEN_FOR_DELETE to do similar test. Thanks! Made note. -- Aahz ([email protected])