Q: How can I lock a file in Windows?
Peter Hansen
peter at engcorp.com
Sat Mar 9 09:25:36 EST 2002
Flavian Hardcastle wrote:
>
> Graham Ashton <graz at mindless.com> wrote in
> news:XBli8.5326$OP.143152 at stones:
>
> > On Sat, 09 Mar 2002 10:06:08 +0000, A.Newby wrote:
> >
> >> Is there another way I can lock the file in Windows?
> >
> > Yes. Try this:
> >
> > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65203
> >
>
> Thanx! That should work, except I don't seem to have the following
> extension modules ... win32con, win32file, and pywintypes. Any idea where I
> can get them?
Whenever I'm in this situation, I go to google and ask for
a search on something like "win32file python download" and I usually
get an answer...
-Peter
More information about the Python-list
mailing list