Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ghc
· 1y ago · 0 comments
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?
Comments
[–]
properpopper
1y ago
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
[–]
ghc
OP
1y ago
That's only a problem in the base python interpreter. IPython has handled this well for over 20 years.