📜  python编程查找文件扩展名的简单方法-Python代码示例

📅  最后修改于: 2022-03-11 14:45:07.515000             🧑  作者: Mango

代码示例1
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])