#! /usr/bin/python
# MyProgram.py
# import sys module
import sys
# the relative path to this script "MyProgram.py" where you place your library (ex. ../MySQL/MySQLWrapper.py )
sys.path.append('../MySQL/')
# import the library
from MySQLWrapper import MySQLWrapper
# MyProgram.py
# import sys module
import sys
# the relative path to this script "MyProgram.py" where you place your library (ex. ../MySQL/MySQLWrapper.py )
sys.path.append('../MySQL/')
# import the library
from MySQLWrapper import MySQLWrapper
Comments