check python version for windows 7 code example
Example 1: check python version
# To check Python version
python -V
----or----
python --version
Example 2: how to check python version
python --version #in command line
python #or by enterng interactiv mode