import os
import sys
def add_path(path):
if path not in sys.path:
sys.path.insert(0, path)
currentPath = os.path.dirname(os.path.realpath(__file__))
add_path(currentPath)
currentPath = os.path.dirname(currentPath)
add_path(currentPath)