Skip to content

Instantly share code, notes, and snippets.

@romach
Created April 2, 2017 20:23
Show Gist options
  • Save romach/1014e6dff8ca1dcf8e982211d8a558c9 to your computer and use it in GitHub Desktop.
Save romach/1014e6dff8ca1dcf8e982211d8a558c9 to your computer and use it in GitHub Desktop.
Check if file exists
import os.path
os.path.isfile(fname)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment