Answers

Question and Answer:

  Home  Python Developer

⟩ How to share global variables across modules?

To share global variables across modules within a single program, create a special module. Import the config module in all modules of your application. The module will be available as a global variable across modules.

 147 views

More Questions for you: