Answers for "simple way of finding file extension python programming"

1

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])
Posted by: Guest on July-26-2021

Code answers related to "simple way of finding file extension python programming"

Python Answers by Framework

Browse Popular Code Answers by Language