[Tutor] tempfile and webbrowser

Alan Gauld alan.gauld at freenet.co.uk
Fri Sep 8 10:36:14 CEST 2006


> 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.

Alan G. 



More information about the Tutor mailing list