pythonversionwindows-server

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.


Solution

  • To check the version of one's Python's Software version, one should use the following code in command prompt:

    python -V
    

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