Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Write a Python program to get the Python version you are using.

import sys
print("Python version")
print (sys.version)
print("Version info.")
print (sys.version_info)				 
	
Comment

PREVIOUS NEXT
Code Example
Python :: python split list into n sublists 
Python :: Iterating With for Loops in Python Using range() and len() 
Python :: python range in reverse order 
Python :: Python Excel merge cell 
Python :: python docstring example 
Python :: dropna in specific column pandas 
Python :: Current date and time or Python Datetime today 
Python :: python iterate through files 
Python :: how to pass data between views django 
Python :: django fixtures. To dump data 
Python :: selenium get parent element 
Python :: lexicographic order python 
Python :: multiprocessing queue python 
Python :: python how to count number of true 
Python :: set value based on column 
Python :: django reverse queryset 
Python :: random numbers python 
Python :: python Correlation matrix of features 
Python :: pandas select a row 
Python :: django get settings 
Python :: return count of substring in a string 
Python :: esp8266 micropython ds18b20 
Python :: get absolute url django 
Python :: python list divide 
Python :: print specific list item python 
Python :: how to find last index of list in python 
Python :: all pdf in a directory to csv python 
Python :: print current line number python 
Python :: label encoding in python 
Python :: str to tuple of float 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =