0

Python multiprocessing

I am trying to use multiple process from multiprocessing modulr to write data from list to the same file the code work without error but the file is empty i checked with print the list is not empty .pls help i will post the code if needed

24th Mar 2019, 12:15 AM
Zamoslovski
1 Antwort
+ 2
Yes, posting your code would certainly help. Are you opening the file only once, or in each process? Do you close them properly? Check this article too maybe it helps https://stackoverflow.com/questions/13446445/JUMP_LINK__&&__python__&&__JUMP_LINK-multiprocessing-safely-writing-to-a-file
26th Mar 2019, 8:58 PM
Tibor Santa
Tibor Santa - avatar