How to check Python version that is installed on your computer

By xngo on June 19, 2019

It is often good to know which version of Python is installed on your computer. Here is how.

  1. Open your Command prompt in MS Windows or terminal in Linux.
  2. Execute python --version.


The output for my case is:

Python 2.7.13

About the author

Xuan Ngo is the founder of He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.