HowTo: Find Python Version

by on July 8, 2009 · 0 comments· last updated at February 27, 2013

How do I find out python programming language version under UNIX / *BSD / Linux / Apple OS X operating systems?

You need to simply type the following command to find out python version (open a terminal windows or shell prompt):

python -V

OR

python --version
 

Sample outputs:

Python 2.6.6

The -V or --version option shows the Python version number of the executable and exit.



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as: , , , , , ,

Previous Faq:

Next Faq: