Beginner Q: What does the double underscore __ mean?

StarPilgrim aaronpil at gmail.com
Sun Sep 9 07:03:40 EDT 2012


Hi all,
Brand new to python. I was wondering what the __ underscore means?
For example, there is a line of code:

__name__=='__main__'


and I don't know what the double underscore is used for.



More information about the Python-list mailing list