Created
March 20, 2014 18:55
-
-
Save elimence/9671202 to your computer and use it in GitHub Desktop.
Import python package files from within another package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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