[Tutor] Checking for file existence
Sat, 24 Feb 2001 11:01:49 -0900
On Sat, 24 Feb 2001, you wrote:
> import os
> if os.path.exists('/full/path/to/file'):
> print 'yes'
> print 'no'
Yes. Exactly what I was looking for. Will review os.py for other useful
methods, now that you have brought it to my attention.
</snip> Ah yes, the "sage" herself. And Thomas Jefferson said....
"Luck is essential to success, and the harder I work, the luckier I get"
"Of all manifestations of power,
restraint impresses the most."