Is there a way to make python become interactive in the middle of a script?

Posted by static_rtti on Stack Overflow See other posts from Stack Overflow or by static_rtti
Published on 2010-04-09T15:38:28Z Indexed on 2010/04/09 17:23 UTC
Read the original article Hit count: 301

Filed under:
|
|

I'd like to do something like:

do lots of stuff to prepare a good environement
become_interactive
#wait for Ctrl-D
automatically clean up

Is it possible with python?If not, do you see another way of doing the same thing?

© Stack Overflow or respective owner

Related posts about python

Related posts about interactive