How to start python interactively from python script?

D

draghuram

Hi,

I would like to have a python script which does some computations at
the beginning and then changes to interactive mode (by displaying the
prompt). How can I do this?

Thanks in advance,
Raghu.
 
M

Mage

Hi,

I would like to have a python script which does some computations at
the beginning and then changes to interactive mode (by displaying the
prompt). How can I do this?
popen()

Mage
 
T

Thomas Heller

Hi,

I would like to have a python script which does some computations at
the beginning and then changes to interactive mode (by displaying the
prompt). How can I do this?


You call 'os.setenv["PYTHONINSPECT"] = "1"' at the somewher in your
script.

Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top