Q: How can I lock a file in Windows?

Flavian Hardcastle deathtospam43423 at altavista.com
Sat Mar 9 07:02:33 EST 2002


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? 

-- 
"You can tell whether a man is clever by his answers. You can tell whether 
a man is wise by his questions."  Naguib Mahfouz

netvegetable at dingoblue.net.au



More information about the Python-list mailing list