What does '__main__' mean in the output of type() [closed]
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Improve this question If I create a class as below, and check the type of the object, I get the following output. My question is what does __main__ mean here? class Student(object): pass >>>a = Student() >>>type(a) <class '__main__.Student'> There is another question, if I check the