Loading

摘要: 方法1, str的endswith方法: 返回结果: True 应用:判断后缀名的示例: 2. 方法2, os.path.splitext() 方法: 该方法返回两个元素, 第一个是路径去掉后缀的部分, 第二个是文件后缀: 阅读全文
posted @ 2019-04-24 12:43 Geoffrey_one 阅读(21724) 评论(0) 推荐(1)
/* */