#python
when we import a module(python file), python interpretator searches for that module name in sys.modules.
If it returns False, it will create a new module object and add to sys.modules and then code inside module is executed.
📌 Therefore, when we import the same module several times in one file, it is executed only once.
Post #110
691