# IPython

[IPython](http://ipython.org/) is an improved Python shell than the one you get from running `$ python` in the command-line. It has many cool functions (running Unix commands from the Python shell, easy copy & paste, creating Matplotlib charts in-line etc.). You can find all functions in the [documentation](http://ipython.readthedocs.io/en/stable/). IPython is a kernel for Jupyter Notebook. If you are confused IPython with Jupyter, refer to the [Jupyter documentation](http://jupyter.readthedocs.io/en/latest/ipython/content-ipython.html)

### Installation <a href="#installation" id="installation"></a>

```
$ pip install ipython
```

If you want a more fine grained command you can try the following:

For zsh -> `$ pip install 'ipython[zmq,qtconsole,notebook,test]'`

For bash -> `$ pip install ipython[zmq,qtconsole,notebook,test]`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://toska.gitbook.io/macos-setup/python/ipython.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
