[IPython-user] PYTHONSTARTUP and ipython

Steve Lianoglou lists.steve@arachnedesign....
Fri Sep 14 16:32:44 CDT 2007


>     Raghuram> I only recently started using ipython. I think you  
> can add
>     Raghuram> "execfile <start_up_file>" in the corresponding  
> ipythonrc.
>
> Thanks, that works as long as I reference the file explicitly, not  
> through
> the environment variable name.

Can't you just pull a:
execfile os.environ['PYTHONSTARTUP']

or is that not the rub?

-steve


More information about the IPython-user mailing list