os,access argument problem
Bob van der Poel
bvdpoel at uniserve.com
Sun Aug 20 15:09:22 EDT 2000
I want to test for the existance of a file, so I:
if os.access(newfile, 'F_OK'):
However, I get the error message:
TypeError: illegal argument type for built-in operation
Something wrong with the 'F_OK' I presume. Can't figure out what to
change it to....
--
__
/ ) / Bob van der Poel
/--< ____/__ bvdpoel at uniserve.com
/___/_(_) /_) http://users.uniserve.com/~bvdpoel
More information about the Python-list
mailing list