Hacker News new | ask | show | jobs
by sanxiyn 5052 days ago
I too put the code in a file even in Python, but REPL is still valuable. I use "python -i" which runs your code (defines functions, classes, etc.) and then stop, and put you in that environment. This is very useful. It seems Cling could be used the same way: .x command.
1 comments

I must be reading the wrong Python tutorials. Thank you for this