Python module search order

The search order is important!
1.Program's working directory
2.$PYTHONPATH directories
3.Python standard library directories
4.(and any .pth path files)

ref http://www.curiousvenn.com/wp-content/uploads/2013/07/modules_101.pdf

Comments

Popular posts from this blog

Difference between apt-get update and apt-get dis-upgrade