if I have a python script as below:
import time
for i in range(10):
print(i)
time.sleep(60)
When it is running to count 3
now,
is it possible to change to upper limit from 10
to 20
?
To make it clear, I mean without stopping the running process.
I want to change it to make it run to 20
.
Say, maybe modify /dev/mem
or /proc/pid/something
?