Hi All,
The link for the python 2.5 quick reference (
http://rgruet.free.fr/PQR25/PQR2.5.html) doesn't seem to be working. Can
anybody point me to any mirror link or share the document if you have
downloaded it already ? A4 PDF version will be great.
Regards,
Vikram U Shenoy.
___
Hi,
import os
if os.path.exists('/path/to/file'):
# File exists
else:
# File doesn't exist
It works for files as well as directories.
Regards,
Vikram U Shenoy
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tut