Clipboard paste Python script to IPython shell
Using IPython magic functions %paste and %cpaste you can paste code from your system clipboard without worrying about whitespace hiccups. Also works for Django's manage.py shell.
Using IPython magic functions %paste and %cpaste you can paste code from your system clipboard without worrying about whitespace hiccups. Also works for Django's manage.py shell.