InterviewSolution
| 1. |
What is the difference between Python and IPython? |
|
Answer» While the two names sound similar, they are in fact entirely different. Python is a general purpose programming language that is on top of the popularity charts among programmers worldwide. IPython, on the other hand, is an interactive command-line terminal for Python. Standard Python runs in the interactive MODE by invoking it from the command terminal to start a REPL (Read, Evaluate, Print and Loop) with Python prompt >>> IPython is an enhanced Python REPL with much more features as compared to standard Python shell. Some of the features are given below:
IPython has been DEVELOPED by FERNANDO Perez in 2001. Its current version is IPython 7.0.1, that runs on Python 3.4 version or higher. IPython has spun off into Project Jupyter that provides a web based interface for the IPython shell. IPython is bundled with Anaconda distribution. If you intend to install IPython with standard Python, use PIP utility pip install ipythonOr better still, you can install Jupyter. IPython, being one of its dependencies, will be installed automatically. pip install jupyterThe following diagram shows the IPython console. The Jupyter notebook frontend of IPython looks as below: |
|