[IPython-user] pasting code
DPGrote at lbl.gov
Thu Aug 7 12:51:35 CDT 2003
One feature I've been looking for is a way to copy and paste code from a
python file and have python ignore the leading spaces. For example, if I
want to paste a few lines of code from inside of a function to the
prompt, I get errors because of the indentation. I normally type "if 1:"
before hand to get around the errors. I didn't a capability like this
listed in the manual, so consider this a feature request to the developers.
More information about the IPython-user