Problem: Python search path - module order
Thomas Guettler
guettli+usenet at thomas-guettler.de
Tue Oct 17 10:44:44 EDT 2006
aznach wrote:
> Hello!
>
> I have a shared hosting account at GrokThis.net and have a problem with
> the module order of the Python search path.
>
> I'd like to use django's svn trunk instead of the
> "Django-0.95-py2.4.egg" provided in site-packages.
> I use ~/.bash_profile to set:
> ----------------------------------------------------------------
> export PYTHONPATH="$HOME/local/lib/python:$HOME/django_src"
> ----------------------------------------------------------------
you can use sys.path.insert(0, ...) in the python code.
--
Thomas Güttler, http://www.thomas-guettler.de/ http://www.tbz-pariv.de/
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: niemand.leermann at thomas-guettler.de
More information about the Python-list
mailing list