I am importing a module (i am using its name as module only). Whenever i press
module.__name__
it is showing some name Module.module
when i did
print module
,i go to the path mentioned. I don't have the module, it has a pyd file. I am completely confused about python importing process,What exactly is __name__
? How does change in __name__
change the way we import, how does main change while importing