def path_hack():
 this_file = os.path.abspath(__file__)
 sympy_dir = os.path.join(os.path.dirname(this_file), '..')
 sympy_dir = os.path.normpath(sympy_dir)
 sys.path.insert(0, sympy_dir)
 return sympy_dir

def path_hack ( ) : this_file = os . path . abspath ( __file__ ) sympy_dir = os . path . join ( os . path . dirname ( this_file ) , '..' ) sympy_dir = os . path . normpath ( sympy_dir ) sys . path . insert ( 0 , sympy_dir ) return sympy_dir
hack sys .