How to Use 'Hit Enter to Run Function' in Python Command Line?

20 Replies, 1983 Views

Bro, you’re not late to the party—this is one of those things that’s super obvious once you know it but feels like a secret hack at first.

The hit enter to run function python command line thing is perfect for quick tests, but for bigger projects, I’d suggest writing scripts and running them with `python script.py`.

Also, if you’re into learning more, Real Python has some great tutorials on command line tricks.

Messages In This Thread



Users browsing this thread: 1 Guest(s)