Answers for "how to know the version of python in the terminal"

6

terminal python version

# in python
$ python --version

# in python3
$ python3 --version
Posted by: Guest on May-28-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 "how to know the version of python in the terminal"

Python Answers by Framework

Browse Popular Code Answers by Language