I commonly use os.path.exists() to check if a file is there before doing anything with it.
os.path.exists()
I\'ve run across a situation where I\'m calling a executable that
You generally shouldn't should os.path.exists to try to figure out if something is going to succeed. You should just try it and if you want you can handle the exception if it fails.