File "MT_class.py", line 12, in run
    apply(self.func, self.args)
NameError: name 'apply' is not defined

python3已经不再支持apply

直接改成self.func(*self.args)就好了

相关文章:

  • 2021-09-24
  • 2021-10-14
  • 2022-02-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-19
  • 2021-06-30
  • 2022-12-23
  • 2021-06-21
  • 2021-08-26
相关资源
相似解决方案