Home>Article>Backend Development> what is python shell

what is python shell

silencement
silencement Original
2019-05-18 18:01:12 55680browse

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!

Statement:
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