In Movable Python I use IPython and code.InteractiveConsole to provide
interactive sessions.
See the file 'movpy.py' in the source distribution to see the code.
Note that to get IPython working with py2exe you must effectively do an
explicit `import site`.
>def interactive(localvars=None):
>"
Miki Tebeka <[EMAIL PROTECTED]> writes:
> Hello All,
>
> If there a way a script can tell Python to enter interactive mode even if
> the -i command line switch was not given?
>
> I want py2exe to create an interactive session, without writing my own
> REPL.
IIRC, in newer Python versions, you can
Hello All,
If there a way a script can tell Python to enter interactive mode even if
the -i command line switch was not given?
I want py2exe to create an interactive session, without writing my own
REPL.
Thanks.
--
Miki Teb