Ipython: Difference between revisions
From wikinotes
No edit summary |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
An alternative/featureful python interpreter. | |||
* colours | * colours | ||
* tab autocomplete | * tab autocomplete | ||
Line 16: | Line 6: | ||
* readline support | * readline support | ||
You can also install kernels for other languages, allowing you to run them within it (ex: java). | |||
= Documentation = | = Documentation = | ||
<blockquote> | <blockquote> | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| http:// | | 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/ | ||
|- | |- | ||
| https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages | | kernel docs || https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages | ||
|- | |- | ||
|} | |} | ||
</blockquote><!-- Documentation --> | </blockquote><!-- Documentation --> | ||
= | = Locations = | ||
<blockquote> | <blockquote> | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| <code>~/.ipython/profile_default/ipython_config.py</code> | | <code>~/.ipython/profile_default/ipython_config.py</code> || ipython config | ||
|- | |- | ||
| <code>~/.ipython/ | | <code>~/.ipython/${PROFILE}/startup/</code> || scripts in this folder are run on startup | ||
|- | |- | ||
|} | |} | ||
</blockquote><!-- Locations --> | |||
= Notes = | |||
<blockquote> | <blockquote> | ||
{| | |||
|- | |||
| [[ipython configuration]] | |||
|- | |||
| [[ipython usage]] | |||
|- | |||
|} | |||
</blockquote><!-- Notes --> | |||
ipython | |||
</blockquote><!-- | |||
= Kernel = | = Kernel = |
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