Answers for "check python version using cmd"

6

python version command

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

check python version

# 2 ways to check python version
# In the terminal/cmd write the following:

# Way 1
python -V

# Way 2
python -c "import sys; print(sys.version)"
Posted by: Guest on September-30-2021
0

python version check in cmd

PS C:UsersMyUsername> py -V

Python 3.9.0
Posted by: Guest on January-05-2022

Code answers related to "check python version using cmd"

Python Answers by Framework

Browse Popular Code Answers by Language