0

Python make thread 1 complet thread 2 job

Hey . I have a function that contain a for loop to write data to a file how i l made threads that run the function but my problem is that the thread number 2 is starting from the beginning so thread 2 is writing the same data as thread 1 not new data any examples ??. i used threading to speed up my script if its not the solution then pls tell me what i have to use Thank you

23rd Mar 2019, 4:29 AM
Zamoslovski
1 Odpowiedź
0
Ok i just found something helpful maybe someone would use it https://blog.dominodatalab.com/simple-parallelization/ i will try it tomorrow any other suggestions ??
23rd Mar 2019, 5:04 AM
Zamoslovski