User Tools

Site Tools


configure_ipython_terminal_prompts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
configure_ipython_terminal_prompts [2020/10/14 21:18] – created prasanthiconfigure_ipython_terminal_prompts [2020/12/03 20:17] (current) – [Task] raju
Line 1: Line 1:
-==== configure ipython terminal prompts ====+=== Configure ipython terminal prompts ===
  
 +==== Task ====
 +The idea here is to change the default ipython terminal prompts such that a typical session looks like
 +<code>
 +In [1]:
 +a='foo'
 +a
 +Out[1]:
 +'foo'
 +</code>
 +
 +instead of
 +<code>
 +In [1]: a='foo'
 +   ...: a
 +Out[1]: 'foo'
 +</code>
 +which is the default. The new version makes it easy to copy paste stuff across sessions.
 +
 +==== Steps ====
 Create a profile (~/.ipython/profile_default/ipython_config.py) if it is not already created by running Create a profile (~/.ipython/profile_default/ipython_config.py) if it is not already created by running
 <code> <code>
configure_ipython_terminal_prompts.1602710336.txt.gz · Last modified: 2020/10/14 21:18 by prasanthi