How to determine if string is name of extension?

后端 未结 0 1656
北荒
北荒 2021-01-31 08:46

I want to check string is valid extension in Python.

For example, I have string png or .png and I want to check if it is exist extension. So I t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题