Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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])
 
PREVIOUS NEXT
Tagged: #simple #finding #file #extension #python #programming
ADD COMMENT
Topic
Name
4+3 =