check file exists

Aahz Maruch aahz at netcom.com
Mon Jul 31 16:16:18 EDT 2000


In article <3985DDA3.E811F70A at ncsa.uiuc.edu>,
Randy Heiland  <heiland at ncsa.uiuc.edu> wrote:
>
>How does one test for whether or not a (Unix) file exists?

Check the os and os.path modules.
--
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

NOTE: end of September, Earthlink kills Netcom.  My new permanent address is 
aahz at pobox.com.  I have not decided where to set my primary shell account.
Please do not send me e-mail condolences; my mailbox is already too big.



More information about the Python-list mailing list