Search
 
SCRIPT & CODE EXAMPLE
 

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)
Comment

how to find python version

python --version
Comment

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.
Comment

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")
Comment

python version check in cmd

PS C:UsersMyUsername> py -V

Python 3.9.0
Comment

check python version windows

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)
Comment

how to check python version

python --version #in command line

python #or by enterng interactiv mode
Comment

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
Comment

PREVIOUS NEXT
Code Example
Python :: how to convert gb to mb in python 
Python :: Inconsistent use of tabs and spaces in indentationPylance 
Python :: dictionary to a dataframe pandas arrays must all be same length 
Python :: check if string contains alphabets python 
Python :: python dictonary of dictonary 
Python :: how to make a sigmoid function in python 
Python :: except python 
Python :: install flask on linux mint for python3 
Python :: python unicode is not defined 
Python :: string hex to decimal python 
Python :: concatenate directories python 
Python :: python frame in a frame 
Python :: python api define bearer token 
Python :: extend a class python 
Python :: how to sort tuples in list python 
Python :: get one from dataloader 
Python :: ImportError: No module named colored 
Python :: zip django template 
Python :: Make a Basic Face Detection Algorithm in Python Using OpenCV and Haar Cascades 
Python :: create an environment in conda 
Python :: set camera width and height opencv python 
Python :: discord python webhook 
Python :: separate path python 
Python :: python parse url get parameters 
Python :: using df.astype to select categorical data and numerical data 
Python :: code to calculate dice score 
Python :: increase a date in python 
Python :: convert float to integer pandas 
Python :: django m2m .add 
Python :: python print on file 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =