Is there a way to perform the following workflow:
If you are on Windows, you can use PyReadline, which has a smart paste feature:
- Copy and paste using the clipboard
- Smart paste for convenient use with ipython. Converting tab separated data to python list or numpy array.
See also the documentation for clipboard functions:
ipython_paste
Paste windows clipboard. If enable_ipython_paste_list_of_lists is True then try to convert tabseparated data to repr of list of lists or repr of array. If enable_ipython_paste_for_paths==True then change \\ to / and spaces to \space.