DekGenius.com
PYTHON
how to check python version
# To check your Python version in the command line use:
python --version
# To check your Python verson inside a script use:
import sys
print(sys.version)
check all python versions windows
how to find python version
how to check which python version is installed
# new way to know about python version in your windows pc,follow the steps below
step-1:Open CMD
step-2:write py --version
Congratulations!Now you know the version of python in your PC.
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")
python version check in cmd
PS C:UsersMyUsername> py -V
Python 3.9.0
check python version
# To check Python version
python -V
----or----
python --version
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)"
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)
check python version
python3 --versionpip3 --version
how to check python version
python --version #in command line
python #or by enterng interactiv mode
how to check if python is installed
#Enter in the Terminal/Command Prompt for the installed Python version
py -V
python version check
# In Command Prompt Type
python -V
# V is Capital
check python version
# To check your Python version in the command line use:
py --version
check python version
how to know the version of python
Step 1: Type Command Prompt on search icon near the windows icon
Step 2: On Command Prompt Execute the below command
Step 3: python --version
check installed python version windows
© 2022 Copyright:
DekGenius.com