Alan Gauld wrote:
>> The file deletion (os.unlink(f.name)) does not work on Windows (it 
>> works on Ubuntu with Python 2.4, though).
>>
>> So, is there a way to get this os.unlink(f.name) to work on Windows?
> 
> Use os.remove() instead.

os.remove() and os.unlink() are identical according to the docs; if you 
look at posix_module.c you can see this is true - they both map to 
posix_unlink().

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to