admin管理员组

文章数量:1363888

I have almost the same problem as the person in this post: python ProcessPoolExecutor do not work when in function.

However in my code the funtion I am trying to call is an imported function located in another file via:

from pythonfile import main

How can I let the ProcessPoolExecuter run this main process?

本文标签: python ProcessPoolExecuter does not run imported methodStack Overflow