Python Editors (Integrated Development Editors)
There are many free and commercial IDEs available for Python. Here, we will learn how to use some open-source editors to execute Python scripts or statements.
Jupyter Notebook
The Jupyter Notebook is a browser-based graphical interface to the IPython shell. It allows the user to include formatted text, static and dynamic visualizations, mathematical equations, JavaScript widgets, etc. along with the Python code. The Jupyter Notebook document can be exported to PDF, Python script, or HTML.
By default, the IPython kernel drives the Jupyter Notebook application. However, it supports other languages like Julia and R. (Jupyter stands for JUlia, PYThon, and R).
To install Jupyter, use the pip utility shipped with Python software.
pip3 install jupyterAfter successful installation, we can start the Jupyter editor from the command prompt as below.
jupyter notebookJupyter Notebook is a client-server application. The server is deployed on the localhost's default port 8888 and the client is opened in a browser window, as shown below: