Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102174
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: how to get python version ? |
| Date | 2016-01-28 18:30 +1100 |
| Message-ID | <mailman.44.1453966228.2338.python-list@python.org> (permalink) |
| References | <76180516-f465-4fde-a1c4-920c91036623@googlegroups.com> |
On Thu, Jan 28, 2016 at 4:21 PM, <namenobodywants@gmail.com> wrote: > is there something analogous to sys.platform that lets you get the version of python you're using? sorry if the question is too see-spot-run. thanks if you can help Check out sys.version and sys.version_info - are they what you're after? ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to get python version ? namenobodywants@gmail.com - 2016-01-27 21:21 -0800 Re: how to get python version ? Ben Finney <ben+python@benfinney.id.au> - 2016-01-28 16:34 +1100 Re: how to get python version ? Rustom Mody <rustompmody@gmail.com> - 2016-01-27 21:48 -0800 Re: how to get python version ? Chris Angelico <rosuav@gmail.com> - 2016-01-28 18:30 +1100 Re: how to get python version ? Rob Gaddi <rgaddi@highlandtechnology.invalid> - 2016-01-28 17:02 +0000
csiph-web