Home » Tip Bank » Web Development
  • Comment on this Article
Language: Web
Expertise: Intermediate
Mar 20, 2020

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Watch

How to Detect the Python Version at Runtime

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
Srinath M S
 
Submit a Tip
Browse "Web Development" Tips
Browse All Tips
javascriptweekly.com
htmlandcssbook.com