Changes between Initial Version and Version 1 of PythonPath
- Timestamp:
- Jun 26, 2012, 6:36:55 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PythonPath
v1 v1 1 PythonPath is a list of directories Python goes through to search for modules and files. 2 All you need to know, you find at [http://docs.python.org/install/index.html#modifying-python-s-search-path]. 3 4 This is considered a very practical approach if you would like to have your apps outside the project directory. 5 6 '''How do you append directories to your Python path?''' 7 8 {{{ 9 import sys 10 sys.path.append("/home/me/myapps") 11 }}}