[Tutor] tempfile and webbrowser
Alan Gauld
alan.gauld at freenet.co.uk
Fri Sep 8 21:37:07 CEST 2006
>> 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
Maybe so, but os.remove() works on my XP box... :-)
I didn't try unlink since the OP said it didn't work. And maybe
significantly
MS Visual C doesn't (or didn't up to v6) include the unlink system
call.
So I figured maybe remove was implemented to be system specific.
But it was not a scientific test.
Alan G.
More information about the Tutor
mailing list