Log in or register to post comments 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. Related Content Python Tutorial Tags Python Package, Module and Namespaces Interview Questions Python Interview Questions