When I save a python source code file, I want to re-run the script. Is there a command that works like this (sort of like nodemon for node)?
You can install nodemon to watch for file changes.
e.g.
npm i -g nodemon
Then to use:
nodemon --exec python3 hello.py
This is for when you use python3 in the command line. On windows you can also use 'py' instead.