Answers for "get python version code"

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

Python Answers by Framework

Browse Popular Code Answers by Language