79568699

Date: 2025-04-11 11:17:07
Score: 1.5
Natty:
Report link

thankyou @wezzo!

I had a similar issue with parallel execution. The solution posted above worked as a charm.

After converting to exe, main was called as many times the workers I had defined.

What worked for me is calling : 'freeze_support()'
right after 'main'

from multiprocessing import Process, freeze_support

if __name__ == "__main__":
    freeze_support()
Reasons:
  • Blacklisted phrase (1): thankyou
  • Whitelisted phrase (-1): worked for me
  • Has code block (-0.5):
  • User mentioned (1): @wezzo
  • Low reputation (1):
Posted by: ankur jain