After entering the interpreter, you could do an execfile on the
.pythonrc file.
--
http://mail.python.org/mailman/listinfo/python-list
Christopher Wood wrote:
> But these two things won't play together, as (by design, it seems)
> $PYTHONSTARTUP isn't read when the -i option is used, leaving me with an
> unenhanced Python interpreter environment after after script execution.
>
> Is the any way round this, other than editing all
Greetings all,
A quick query: as all sorts of stuff can be defined in a .pythonrc.py
file or similar and called at python startup using the PYTHONSTARTUP
environment variable, it's very useful and can enhance the interpreter
experience greatly.
However, executing a script using the -i command