[IPython-dev] newbie path problem
Ville M. Vainio
vivainio at gmail.com
Tue Sep 18 08:26:28 EDT 2007
On 9/17/07, boneskull <boneskull at deathculture.net> wrote:
> Can I set something in my ipythonrc to modify the path at launch, before it
> generates aliases?
Edit your ipy_user_conf.py.
You can manipulate os.environ["PATH"] there.
Though I think you should just do "import ipy_profile_sh" there, and see:
http://ipython.scipy.org/moin/Cookbook/EnvPersist
(this module is loaded in ipy_profile_sh).
You should also do %rehashx once after changing your PATH.
--
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
More information about the IPython-dev
mailing list