1. Function Add
import sys
("c:\\")
2. Modify pythonpath (try not to get through)
windows:PYTHONPATH
3. Add .pth file (can)
site-packages or python installation directory to add , the contents of the file is the module directory.
linux(ubuntu) /usr/local/lib/python2.7/dist-packages
linux(redhat) /usr/lib/python2.7/site-packages
Above this python add module search path method is all I have shared with you, I hope to give you a reference, and I hope you support me more.