ppaarrkk wrote:What do most people do if they just want to run selected lines of code?
Depends on your Python editor of choice. Most have an interactive shell. Then just type the line there, hit Enter, see it process immediately. If it gets more complicated, you may capsule it in a function which you can call. Or you indeed go into the editor and do something like "run single line" or "run until here" or what you need. I use the interactive shell a lot when I am prototyping and debugging my code.