Answers for "python how to print python version"

5

python print version

import sys
print(sys.version)
Posted by: Guest on April-15-2020
0

get python version in code

import platform

print(platform.python_version())
Posted by: Guest on November-17-2020

Code answers related to "python how to print python version"

Python Answers by Framework

Browse Popular Code Answers by Language