Here's an example where you are trying to import a function in one of your .py files--when that .py file is not in the current directory:
import sys
sys.path.append("/Users/me/2testing/dir1/")
#directory that contains the file
import test1 #name of file without .py extension
test1.greet()
--
http://mail.python.org/mailman/listinfo/python-list
