#匹配文件名要求, 不區分大小寫
fnmatch.fnmatch(filename, pattern)
fnmathc.fnmatch('txt.py', '*.Py') # True
#匹配文件名是否符合要求,區分大小寫
fnmatch.fnmatchcase(filename, pattern)
fnmatch.fnmatchcase('txt.py', '*.py') # True
fnmatch.fnmatch(filename, pattern)
fnmathc.fnmatch('txt.py', '*.Py') # True
#匹配文件名是否符合要求,區分大小寫
fnmatch.fnmatchcase(filename, pattern)
fnmatch.fnmatchcase('txt.py', '*.py') # True
2020-01-25
轉PDF提示
AttributeError: 'NoneType' object has no attribute 'SaveAs'
AttributeError: 'NoneType' object has no attribute 'SaveAs'
2019-08-07