Answers for "how to get the current version of os in python"

2

python show current version

import sys
print("Python version")
print (sys.version)
print("Version info.")
print (sys.version_info)
Posted by: Guest on April-07-2021

Code answers related to "how to get the current version of os in python"

Python Answers by Framework

Browse Popular Code Answers by Language