Ipython notes

From raju

copy paste code from ipython without ...

    %hist n
    

or

    %history n
    

Ref:- https://stackoverflow.com/questions/20858336/copy-code-from-ipython-without-leading-triple-dots

enter multiline statements in ipython

In git bash

  • ctrl-on - works in both IPython 5.3.0 and 7.3.0
  • ctrl-q + Enter - works in IPython 5.3.0 but not in 7.3.0

If that does not work, https://stackoverflow.com/questions/13536370/adding-line-breaks-in-ipython might help.