Home > Backend Development > Python Tutorial > what is python shell

what is python shell

silencement
Release: 2020-09-18 13:37:17
Original
55844 people have browsed it

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.

what is python shell

#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

what is python shell

ipython installation

Execute pip3 install ipython from the command line, as follows

what is python shell

#After successful installation, open the command line, enter ipython, and press Enter, as follows

what is python shell

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template