Tuesday, May 31, 2016

multithreading - How to start other script inside a running python script(A new thread or process?)

If I have a program like this:



for i in range (25000):
do something
if i == 5000:
run new_script.py in a new thread/process
continue as before


How can I do this?

No comments:

Post a Comment