How to make a "command line basd" interactive program?

Paddy paddy3118 at googlemail.com
Tue Apr 15 02:58:03 EDT 2008


On Apr 15, 6:35 am, Evan <xdi... at gmail.com> wrote:
> that's great, a custom shell is what I need.
>
> Thanks all
> Evan

And for the quick-n-dirty there is:
  python -i yourscript.py

Which runs your script then drops you into the interpreter.

- Paddy.



More information about the Python-list mailing list