Ipython: Difference between revisions

From wikinotes
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ TODO
| These docs are a mess, and highlight the wrong info. To be reorganized. }}
An alternative/featureful python interpreter.
An alternative/featureful python interpreter.
* colours
* colours
Line 13: Line 10:
= Documentation =
= Documentation =
<blockquote>
<blockquote>
As of the move to IPython 5.0, the documentation is in the progress of being hosted on <code>Read The Docs</code>.
IPython also incorporated some other projects, and their configuration is also independent of ipython's own.
{| class="wikitable"
{| class="wikitable"
|-
|-
| http://python-prompt-toolkit.readthedocs.io/en/stable/ || || IPython5.0 readline replacement (see here for vi-style keys)
| official docs || http://ipython.readthedocs.io/en/stable/
|-
|-
| http://ipython.readthedocs.io/en/stable/               || || IPython5.0 documentation
| legacy docs || https://ipython.org/ipython-doc/3/
|-
|-
| https://ipython.org/ipython-doc/3/                     || || Legacy IPython documentation
| readline docs || http://python-prompt-toolkit.readthedocs.io/en/stable/
|-
|-
| https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages || || Other Lang Kernels (C#, Haskell, Julia,...)
| kernel docs || https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages
|-
|-
|}
|}

Latest revision as of 20:32, 19 September 2021

An alternative/featureful python interpreter.

  • colours
  • tab autocomplete
  • auto-reload all before each run
  • all of these features within a debugger
  • readline support

You can also install kernels for other languages, allowing you to run them within it (ex: java).

Documentation

official docs http://ipython.readthedocs.io/en/stable/
legacy docs https://ipython.org/ipython-doc/3/
readline docs http://python-prompt-toolkit.readthedocs.io/en/stable/
kernel docs https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages

Locations

~/.ipython/profile_default/ipython_config.py ipython config
~/.ipython/${PROFILE}/startup/ scripts in this folder are run on startup

Notes

ipython configuration
ipython usage

Kernel

There are kernels for other languages available to ipython.

ruby iruby
ijava