On 2009-09-28, Chris Rebert <c...@rebertia.com> wrote: > On Sun, Sep 27, 2009 at 8:13 PM, edwithad <edwit...@hotmail.com> wrote: >> I am sure you have not read a question this basic in some time, but I am >> curious. Using Linux I open a terminal window and type: python. >> >> Does Bash Shell go away and to become a Python Shell, or is it still a Bash >> Shell with Python running inside? Thanks in advance. > > The latter. Press Ctrl+D or enter exit() or quit() to exit Python and > return to bash.
Bash doesn't really "go away". It's still there, it just hands over the terminal to the python interpreter and then sits and waits for the python interpreter to exit. At that point the Bash shell (the same one as before) resumes. -- Grant -- http://mail.python.org/mailman/listinfo/python-list