Code

Changes between Initial Version and Version 1 of PythonPath


Ignore:
Timestamp:
06/26/12 16:36:55 (2 years ago)
Author:
kouroshshafizadeh@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PythonPath

    v1 v1  
     1PythonPath is a list of directories Python goes through to search for modules and files. 
     2All you need to know, you find at [http://docs.python.org/install/index.html#modifying-python-s-search-path]. 
     3 
     4This 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{{{ 
     9import sys 
     10sys.path.append("/home/me/myapps") 
     11}}}