Skip to content Skip to sidebar Skip to footer

Changing A Python Script While It Is Running

Assume I have some python script - script.py, and I run it using python script.py & and now it runs for a long time and write some results to a file. Is it ok (i.e., it won't

Solution 1:

You can change the script, because when you start it, it's compiled to bytecode which is being executed.


Post a Comment for "Changing A Python Script While It Is Running"