Answers for "how to check if python 2 or 3"

0

get python version in code

import platform

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

Code answers related to "how to check if python 2 or 3"

Python Answers by Framework

Browse Popular Code Answers by Language