Answers for "seeing python version command line"

6

python version command

import sys
print(sys.version)
Posted by: Guest on April-15-2020
0

how to know the version of python using cmd

#checking using cmd
python --version
#using python script to get version 
import os
os.system("python --version")
Posted by: Guest on December-21-2021

Code answers related to "seeing python version command line"

Python Answers by Framework

Browse Popular Code Answers by Language