26 ms·
Use IPython and %cpaste magic. Works well.
by klibertp 12y ago
Use IPython and %cpaste magic. Works well.
- Grue3 12y agoI use IPython. %cpaste doesn't work all the time if you're copying from the middle of a function. And even if I just paste a one-liner that starts with a few spaces, why the hell does it even bother to complain about that? Oh wow, this one line of code (which happens to be the entirety of code I'm asking you to execute) is indented wrong, tell me something I don't know! What a PITA.