Feb-12-2020, 03:23 PM
Can you explain what you mean by Core -> Handler -> Class A -> Class B | Class C | .. ?
I don't see a problem in defining a module
I don't see a problem in defining a module
# spamish.py class Spam: def __init__(self): self.eggs = 'eggs' the_spam = Spam() # <--- our unique instanceIn other modules, we can simply import the unique instance
from spamish import the_spam print(the_spam.eggs)