Answers for "sys print python verison"

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

Python Answers by Framework

Browse Popular Code Answers by Language