Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check python version

python --versrion
print(sys.version_info)
# sys.version_info(major=3, minor=8, micro=3, releaselevel='final', serial=0)

import platform
print(platform.python_version())

import sys
print(sys.version)
Source by www.howtouselinux.com #
 
PREVIOUS NEXT
Tagged: #check #python #version
ADD COMMENT
Topic
Name
9+1 =