checking the existence of a fiel

Daley, MarkX markx.daley at intel.com
Tue Jul 11 12:20:04 EDT 2000


if os.path.exists('filename'):
	<process>

- Mark

----------------------------------------------
The opinions expressed are mine, and are not necessarily those of my
employer.


-----Original Message-----
From: Fernando Rodríguez [mailto:frr at mindless.com]
Sent: Tuesday, July 11, 2000 8:37 AM
To: python-list at python.org
Subject: checking the existence of a fiel


Hi!

    How can I check if a file exists? O:-)

TIA

--


---------------------------------------
Fernando Rodríguez







More information about the Python-list mailing list