On 7 sep 2008, at 13:50, Gabriel Genellina wrote:

En Sat, 06 Sep 2008 20:26:24 -0300, Python <[EMAIL PROTECTED]> escribió:

now one question came up, how do I make those path permanent?
i mean, sys.path.append(<path)> adds it for the current session,
yet when i logout of IDLE and start it again it's gone...
how do i keep it in there?

You can add that path to the PYTHONPATH environment variable, or you can put a .pth file in the current Lib directory, containing the desired path. See http://docs.python.org/inst/search-path.html and the documentation for the site module (although it appears not to be totally accurate).

--
Gabriel Genellina



i read that but was wondering why some modules installed by macports did show up
in the path and some didn't
the PYTHONPATH wasn't set anywhere in my shell

I did add it and now it works!

Thanks John & Gabriel!

gr
Arno
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to