Is there a way to use multiprocessing in a user defined class on another user defined class to modify one of its attributes in place?

前端 未结 0 1649
挽巷
挽巷 2020-12-29 18:03

I\'m trying to do something like the following:

import multiprocessing as mp 
class X:
    def __init__(self,num):
        self.num = num
    def add(self):
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题