<jupyter_start><jupyter_text>What is the difference between IPython and Python?While these two names are quite similar, they refer to entirely different things.[**Python**](https://www.python.org/) is a general-purpose programming language. It was created in the late 1980s by <NAME>. It is now one of the most popular languages in the world. It is routinely used by system administrators and web developers. Also, many scientists are using Python thanks to libraries such as NumPy, SciPy, pandas, and matplotlib. The ease of use of Python and its dynamic nature make it a very productive language.[**IPython**](https://ipython.org/) is an interactive command-line terminal for Python. It was created by <NAME> in 2001. IPython offers an enhanced read-eval-print loop (REPL) environment particularly well adapted to scientific computing. ![IPython terminal](https://s3-us-west-1.amazonaws.com/plotly-tutorials/plotly-documentation/images/ipython-console.png) In other words, IPython is a powerful *interface* to the Python language. But it is certainly not the only one. Besides IPython, the most common way to use Python is to write *scripts*, files with the `.py` extension.A script contains a list of commands to execute in order. It runs from start to finish and display some output. On the contrary, with IPython, you generally write one command at a time and you get the results instantly. This is a completely different way of working with Python. When analyzing data or running computational models, you need this sort of interactivity to explore them efficiently.  Jupyter Notebook In 2011, IPython introduced a new tool named the **Notebook**. Inspired by scientific programs like Mathematica or Sage, the Notebook offers a modern and powerful web interface to Python. ![IPython Notebook](https://s3-us-west-1.amazonaws.com/plotly-tutorials/plotly-documentation/images/notebook.png) Compared to the original IPython terminal, the Notebook offers a more convenient text editor, the possibility to write rich text, and improved graphical capabilities. Also, since it is a web interface, it can integrate many of the existing web libraries for data visualization, including *plotly.js*.In 2015, the IPython developers made a major code reorganization of their ever-growing project. The Notebook is now called the Jupyter Notebook. This interface can be used not only with Python but with dozens of other languages such as R and Julia. IPython is now the name of the Python backend (aka kernel).In conclusion, IPython and Jupyter are great interfaces to the Python language. If you're learning Python, using the IPython terminal or the Jupyter Notebook is highly recommended.This was a guest article written by <NAME>, author of Learning IPython for Interactive Computing and Data Visualization, second edition and IPython Interactive Computing and Visualization Cookbook.<jupyter_code>from IPython.display import display, HTML

display(HTML('<link href="//fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Inconsolata|Ubuntu+Mono:400,700" rel="stylesheet" type="text/css" />'))
display(HTML('<link rel="stylesheet" type="text/css" href="http://help.plot.ly/documentation/all_static/css/ipython-notebook-custom.css">'))

! pip install git+https://github.com/plotly/publisher.git --upgrade
import publisher
publisher.publish(
    'ipython-vs-python.ipynb', 'python/ipython-vs-python/', 'IPython vs Python | plotly',
    'Discussion of key differences between IPython and Python',
    title = 'IPython vs Python | plotly',
    name = 'IPython vs Python',
    thumbnail='thumbnail/venn.jpg', language='python',
    has_thumbnail='true', display_as='chart_studio', order=12,
    ipynb='~notebook_demo/17')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.07957276368491321, 'fraction_numerical': 0.011214953271028037, 'mean_word_length': 5.222591362126246, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 5, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '265350', 'license': 'CC-BY-3.0', 'n_tokens_mistral': 1030, 'n_tokens_neox': 969, 'n_words': 452, 'path': '_posts/python-v3/fundamentals/ipython-vs-python/ipython-vs-python.ipynb', 'repo_name': 'bmb804/documentation', 'size': '3772'}