get version of running python script

import sys print (sys.version) print (sys.version_info) print (sys.hexversion) if sys.version_info >= (2,5) print ('greater than 2.5')
the code will return the currently running python script version
and has some more codes to learn..

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.