Testing for a file in python?

RSGinCA rsginca at aol.com.NO.Spam
Mon Jun 12 12:33:44 EDT 2000


>How would you go about testing if a certain file exists in python?

Use os.path.isfile( path )

Rick
Rick G (in CA)
(To reply remove .NO.Spam from my e-mail address)



More information about the Python-list mailing list