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

check python version

# To check Python version 
python -V
----or----
python --version
Comment

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

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

check python version

python3 --versionpip3 --version
Comment

how to check python version

python --version #in command line

python #or by enterng interactiv mode
Comment

python version check

# In Command Prompt Type 
python -V

# V is Capital 
Comment

check python version

# To check your Python version in the command line use:
py --version
Comment

check python version

python3 -v
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 :: encrypt and decrypt python 
Python :: python filter a dictionary 
Python :: python get dates between two dates 
Python :: how to print a float with only 2 digits after decimal in python 
Python :: pandas replace na with 0 
Python :: pandas object to float 
Python :: panda check a cell value is not a number 
Python :: get certain columns pandas with string 
Python :: how to get location of word in list in python 
Python :: distribution plot python 
Python :: python multi line print 
Python :: python list comma separated string 
Python :: python pil get pixel 
Python :: how to install python 3.6 ubuntu 
Python :: how do i create a file in specific folder in python 
Python :: pandas join two series on index 
Python :: python pandas convert comma separated number string to integer list 
Python :: check date on template django 
Python :: count how many times a value shows in python list 
Python :: check numpy arrays equal 
Python :: what is values_list in django orm 
Python :: how to get current date in python 
Python :: how to make a infinite loop in python 
Python :: The `.create()` method does not support writable nested fields by default. Write an explicit `.create()` method for serializer `room_api.serializers.roomSerializer`, or set `read_only=True` on nested serializer fields. 
Python :: get ip address in django 
Python :: how to remove first letter of a string python 
Python :: making variable if it is none python 
Python :: use of == python 
Python :: You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. 
Python :: flask render error template 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =