mimic -i from script
mwh at python.net
Fri Mar 5 11:10:51 CET 2004
Peter Hansen <peter at engcorp.com> writes:
> John Hunter wrote:
> > Is it possible at the end of a script to issue some python command
> > that will cause the python shell to open as if the -i flag had been
> > used
> See the first item in
And if 2.3 isn't an option, you might be able to use the standard
library module code.py to good effect.
QNX... the OS that walks like a duck, quacks like a duck, but is,
in fact, a platypus. ... the adventures of porting duck software
to the platypus were avoidable this time.
-- Chris Klein, alt.sysadmin.recovery
More information about the Python-list