How to share a python instance across files?

后端 未结 0 569
长发绾君心
长发绾君心 2021-02-04 18:43

I\'m a bit confused about how the Python import works. I have a large project and I want to share a class instance across some files. Say, in file-A, I initialized an instance:<

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