Home > Article > Backend Development > what is python shell
Python shell does not refer to a specific command, but a command line environment. We can call libraries and execute statements in the shell. The common one is the ipython environment. Execute "pip install ipython" on the command line ” to install.
#python shell does not refer to a specific command, but a command line environment. You can call libraries and execute statements in the shell. The common one is the ipython environment, which is much better than the shell that comes with python.
As shown below, we can write code in the shell and export the library
ipython installation
Execute pip3 install ipython from the command line, as follows
#After successful installation, open the command line, enter ipython, and press Enter, as follows
Indicates that ipython has been successfully installed
The above is the detailed content of what is python shell. For more information, please follow other related articles on the PHP Chinese website!