dcsimg
 

Submitted by: Srinath M S(srinath_ms@yahoo.com)

Friday Mar 20th 2020 by Srinath M S

Language: Web, Expertise: Intermediate: See how to figure out which version of Python you are running.

At times, we want to run our code only if the version of the Python engine is above a certain version. See below for sample code:

Import sys
version = sys.version
Home
Mobile Site | Full Site