How can I embed(create) an interactive python shell in my python program
<p>Is is possible to start a interactive python shell in a python program? </p>

<p>For example, I want to use this interactive python shell to inspect some program internal variables.</p>
