Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28763
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2012-09-09 04:03 -0700 |
| Message-ID | <3dcd70d0-17b5-40a4-803a-eed66639b6e7@googlegroups.com> (permalink) |
| Subject | Beginner Q: What does the double underscore __ mean? |
| From | StarPilgrim <aaronpil@gmail.com> |
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.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Beginner Q: What does the double underscore __ mean? StarPilgrim <aaronpil@gmail.com> - 2012-09-09 04:03 -0700
Re: Beginner Q: What does the double underscore __ mean? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-09 12:23 +0100
Re: Beginner Q: What does the double underscore __ mean? Dave Angel <davea@dejaviewphoto.com> - 2012-09-09 08:39 -0400
Re: Beginner Q: What does the double underscore __ mean? hamilton <hamilton@nothere.com> - 2012-09-09 10:04 -0600
Re: Beginner Q: What does the double underscore __ mean? Dave Angel <d@davea.name> - 2012-09-09 16:54 -0400
Re: Beginner Q: What does the double underscore __ mean? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-09 22:05 +0000
Re: Beginner Q: What does the double underscore __ mean? Bryan <bryanjugglercryptographer@yahoo.com> - 2012-09-09 22:38 -0700
csiph-web