Re: Forcing interactive interpreter without (-i)

2005-02-01 Thread Fuzzyman
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): >"

Re: Forcing interactive interpreter without (-i)

2005-02-01 Thread Thomas Heller
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

Forcing interactive interpreter without (-i)

2005-01-31 Thread Miki Tebeka
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