Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

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

PREVIOUS NEXT
Code Example
Python :: openpyxl load file 
Python :: get month day year 12 hour time format python 
Python :: print 1to 10 number without using loop in python 
Python :: python profiler 
Python :: install python 3.6 dockerfile 
Python :: How do you print a integer in python 
Python :: library for converting text into image in python 
Python :: the boys 
Python :: remove first character of string python 
Python :: root mean squared error 
Python :: how to set background image in python tkinter 
Python :: python import file from parent directory 
Python :: networkx max degree node 
Python :: 1d array to one hot 
Python :: copy website 
Python :: discord.py get channel id by channel name 
Python :: python access global variable 
Python :: empty dictionary python 
Python :: delete virtual environment in python windows 
Python :: Pandas categorical dtypes 
Python :: pil img to pdf 
Python :: replace column values/create new column based on another column values/condition in Pandas 
Python :: split string in python 
Python :: rotate image python 
Python :: to_csv create folder 
Python :: python flatten list 
Python :: hashing vs encryption vs encoding 
Python :: how to check for missing values in pandas 
Python :: generate binay image python 
Python :: excel write in row 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =