Skip to content

Instantly share code, notes, and snippets.

@kevin-miles
Created July 17, 2014 01:14
Show Gist options
  • Save kevin-miles/ecc1b8f174b70d860ada to your computer and use it in GitHub Desktop.
Save kevin-miles/ecc1b8f174b70d860ada to your computer and use it in GitHub Desktop.
import file from another directory
import os
import sys
sys.path.append(os.path.abspath(os.path.dirname(__file__) + '/' + '../..'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment