how to get python version ?

Chris Angelico rosuav at gmail.com
Thu Jan 28 02:30:19 EST 2016


On Thu, Jan 28, 2016 at 4:21 PM,  <namenobodywants at 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



More information about the Python-list mailing list