[python] Which version of Python do I have installed?

I have to run a Python script on a Windows server. How can I know which version of Python I have, and does it even really matter?

I was thinking of updating to the latest version of Python.

This question is related to python version windows-server

The answer is


python -V

http://docs.python.org/using/cmdline.html#generic-options

--version may also work (introduced in version 2.5)


Similar questions with python tag:

Similar questions with version tag:

Similar questions with windows-server tag: