Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53198
| From | Roy Smith <roy@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: semicolon at end of python's statements |
| Date | 2013-08-28 20:33 -0400 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <roy-FA3B8B.20331128082013@news.panix.com> (permalink) |
| References | <mailman.332.1377735563.19984.python-list@python.org> |
In article <mailman.332.1377735563.19984.python-list@python.org>, Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org> wrote: > Dear all, > > I'm C++ programmer and unfortunately put semicolon at end of my > statements in python. > > Quesion: > What's really defferences between putting semicolon and don't put? In theory, nothing. In practice, all the real Python programmers will make fun of you. Somewhat more seriously, every language has its own way of doing things. There's the set of things the language allows you to do, and the somewhat smaller set of things that have become accepted as the "proper" way to do things in that language. For Python, putting semicolons at the ends of statements falls into the first set but not the second.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
semicolon at end of python's statements Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org> - 2013-08-29 04:48 +0430
Re: semicolon at end of python's statements Roy Smith <roy@panix.com> - 2013-08-28 20:33 -0400
Re: semicolon at end of python's statements Chris Angelico <rosuav@gmail.com> - 2013-08-29 10:47 +1000
Re: semicolon at end of python's statements Roy Smith <roy@panix.com> - 2013-08-28 21:04 -0400
Re: semicolon at end of python's statements Steven D'Aprano <steve@pearwood.info> - 2013-08-29 04:27 +0000
csiph-web