How do I get access to every file? [duplicate]

  Kiến thức lập trình
import Logging

logger = logging.getLogger(__name__)
logger = logging.getLogger("")

How do I make this part accessible from all files?
Is there a way to use it on all files without importing it similar to the environment variable?

0

LEAVE A COMMENT