Imagine a python script that will take a long time to run, what will happen if I modify it while it's running? Will the result be different?
It happens nothing. Once the script is loaded in memory and running it will keep like this.
An "auto-reloading" feature can be implemented anyway in your code, like Flask and other frameworks does.
What will happen if I modify a Python script while it's running?