Answers for "check python version from a script"

0

get python version in code

import platform

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

check python version

# To check Python version 
python -V
----or----
python --version
Posted by: Guest on March-01-2021

Code answers related to "check python version from a script"

Python Answers by Framework

Browse Popular Code Answers by Language