Skip to content

Instantly share code, notes, and snippets.

@marcgibbons
Created March 27, 2013 18:53
Show Gist options
  • Save marcgibbons/5256993 to your computer and use it in GitHub Desktop.
Save marcgibbons/5256993 to your computer and use it in GitHub Desktop.
Refer to a file by it's full system path
os.path.join(os.path.dirname(__file__), 'myfile.txt')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment