Bash shell to Python shell?
garabik-news-2005-05 at kassiopeia.juls.savba.sk
garabik-news-2005-05 at kassiopeia.juls.savba.sk
Mon Sep 28 03:56:43 EDT 2009
Chris Rebert <clp2 at rebertia.com> wrote:
> On Sun, Sep 27, 2009 at 8:13 PM, edwithad <edwithad at 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.
>
Or, if you prefer the bash shell to be replaced with the python, just type:
exec python
--
-----------------------------------------------------------
| Radovan Garabík http://kassiopeia.juls.savba.sk/~garabik/ |
| __..--^^^--..__ garabik @ kassiopeia.juls.savba.sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
More information about the Python-list
mailing list