Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

simple way of finding file extension python programming

file = input("Which file did you opend last time user:- ")
extenction = file.split(".")
print("humm so last time you opened file extenction was .",extenction[1])
Comment

PREVIOUS NEXT
Code Example
Python :: python epoch to datetime 
Python :: python logger to different file 
Python :: matplotlib boxplot colors 
Python :: python create file if doesnt exist 
Python :: how to get the local time in python 
Python :: ordereddict 
Python :: discord py get all channels in guild 
Python :: how to sort list of dictionaries in python 
Python :: pywebcopy 
Python :: python sum array 
Python :: python soap 
Python :: Python list of dictionaries search 
Python :: python web parsing 
Python :: list all files starting with python 
Python :: evaluate how much a python program memory 
Python :: python webdriver disable logs 
Python :: count elements in list 
Python :: python elasticsearch put index 
Python :: convert 1 to "one" python 
Python :: python timedelta to seconds 
Python :: opencv python grayscale image to color 
Python :: pandas read csv skip rows 
Python :: pdf to csv python 
Python :: how to split text into list python by characters 
Python :: pytthon remove duplicates from list 
Python :: wait driver selenium 
Python :: run exe from python 
Python :: convert matplotlib figure to cv2 image 
Python :: django sessions 
Python :: query with condition django 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =