>>47
import os
file = "filename"
if os.access(file, 0):
print "exist"
else:
print "not exist"