How to Copy from IPython session without terminal prompts
You can use the %history magic to extract the interesting parts from your session. They will be shown in terminal without any of the junk. Example In [1]: import numpy as np In [2]: a = np.random(10) ————————————————————————— TypeError Traceback (most recent call last) <ipython-input-2-83ce219ad17b> in <module>() —-> 1 a = np.random(10) TypeError: ‘module’ object … Read more