Hacker News new | ask | show | jobs
by ghc 300 days ago
I find that the IPython REPL has downright amazing multiline support. I've always been envious of it when using GHCI. But even the standard Python REPL supports multiline paste just fine. So what exactly are you talking about? Rolling your own?
1 comments

You can't copy a method from a class and then paste it in the REPL, it will complain about indentation.

Workarounds:

1) copy whole class

2) remove indentation before copying

That's only a problem in the base python interpreter. IPython has handled this well for over 20 years.