python 2c importing other scripts from other directories

Solutions on MaxInterview for python 2c importing other scripts from other directories by the best coders in the world

showing results for - "python 2c importing other scripts from other directories"
Paulina
24 Oct 2017
1import sys
2sys.path.insert(0, 'path/to/your/py_file')
3
4import py_file
5