simple: test if file exists

Fredrik Lundh effbot at telia.com
Thu Aug 31 13:57:11 EDT 2000


donn cave:
> I don't know, this appears to substitute error prediction for
> error trapping.  I'm no Windows whiz, but the UNIX version
> of system() will indeed return an integer value that indicates
> whether the command supposedly worked.

works on NT, not on 9X.

for better control, use the spawn functions (similar
to system, but they don't allow the shell to get in
the way...)

</F>

<!-- daily news from the python universe:
http://www.pythonware.com/daily/index.htm
-->




More information about the Python-list mailing list