+ 1
How did you develop multi-threaded applications in Python?
I am currently fulfilling an order, the point is that on a certain site 30 accounts must perform various actions. So far, everything works for me on one account. How did you work with multisession?
2 Antworten
+ 2
Run your server scripts with threading. Every time someone connects, spin off a thread and let that process handle that client while your server waits for another to do something.
0
Use threading module. You can import it this way.
import threading
Use it this way:
variable = threading.Thread(target=function_you_want_to_execute_in_a_new_thread, args=() ) #Args ---> Put here your function args.