import sys sys.path.append("/afs/umbc.edu/users/s/q/squire/python") # sets path to module import C_test dir(C_test) # to see that the functions actually got there a=C_test.square(2.0) print "C_test.square(2.0) =", print a