Answers for "python get python version from interpreter"

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 "python get python version from interpreter"

Python Answers by Framework

Browse Popular Code Answers by Language