Python public recipes
This code checks to see if the file '/path/to/check' exists.
Shortcut: file.isfile
import os
os.path.isfile('/path/to/check')
This code checks to see if the file '/path/to/check' exists.
Shortcut: file.isfile
import os
os.path.isfile('/path/to/check')