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 (a...@pythoncraft.com)

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

2009-11-24 Thread niki
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. regards, Niki ___ python-win32 mailing list python-win32@py

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

2009-11-23 Thread Aahz
On Mon, Nov 23, 2009, Aahz wrote: > > I'm having some problems with Tim Golden's file_handles.py [*] (details > below), and it occurs to me that perhaps I should start over and express > my requirement more broadly and see if someone has a more "Windows > appropriate" solution: all I really care ab