python show version in script code example
Example: python show current version
import sys
print("Python version")
print (sys.version)
print("Version info.")
print (sys.version_info)
import sys
print("Python version")
print (sys.version)
print("Version info.")
print (sys.version_info)