Python __name__ value initialization and usage
Paras Nigam
VP, Engineering | AI & Cybersecurity | Generative AI Expert | GCC & GVC | IIM Calcutta | MIT USA | 3AI Thought Leader | Entrepreneur |
Python is an interpreted language, whenever python interpreter reads the code file it executes all the code found in it. But before execution of the code their are few special variables which are defined.
One of the special global variables is __name__