Skip to content

Instantly share code, notes, and snippets.

@elimence
Created March 20, 2014 18:55
Show Gist options
  • Save elimence/9671202 to your computer and use it in GitHub Desktop.
Save elimence/9671202 to your computer and use it in GitHub Desktop.
Import python package files from within another package
from helpers.validators import validate_movie_title
import sys
sys.path.append('/Users/c3po/Desktop/12_Python_Resubmission/entity')
from models import Movie
class CRUD:
def insert_movie(self):
print "insert movie here!!!!!!!!!!!!!!"
#movie = Movie()
#movie.save("abc",123)
#print movie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment