Tim Golden wrote:
> [rbt]
>
> | Can someone detail the differences between these two? On
> | Windows which is preferred?
>
> Looks like that's been answered elsewhere.
>
> | Also, is it true that win32api.DeleteFile() can remove the 'special'
> | files located in the 'special' folders only acces
[rbt]
| Can someone detail the differences between these two? On
| Windows which is preferred?
Looks like that's been answered elsewhere.
| Also, is it true that win32api.DeleteFile() can remove the 'special'
| files located in the 'special' folders only accessible by the shell
| object such as
rbt <[EMAIL PROTECTED]> wrote:
>
>Can someone detail the differences between these two? On Windows which
>is preferred?
os.unlink() calls unlink() in the C run-time library. In VC++, unlink()
passes its parameter directly to DeleteFile. There is no difference.
DeleteFile() is the only way to de
rbt wrote:
> Can someone detail the differences between these two? On Windows which
> is preferred?
They do the same thing: unlink calls DeleteFile. The only difference is
how errors are reported.
For portability, os.unlink is preferred.
Regards,
Martin
--
http://mail.python.org/mailman/listinf
Can someone detail the differences between these two? On Windows which
is preferred?
Also, is it true that win32api.DeleteFile() can remove the 'special'
files located in the 'special' folders only accessible by the shell
object such as Temporary Internet Files, etc.
Thanks!
--
http://mail.py