|

楼主 |
发表于 2020-7-16 18:53:14
|
显示全部楼层
Traceback (most recent call last):
File "E:/测试代码/030 4.py", line 32, in <module>
find_name(name1)
File "E:/测试代码/030 4.py", line 18, in find_name
find_name(each_file)
File "E:/测试代码/030 4.py", line 18, in find_name
find_name(each_file)
File "E:/测试代码/030 4.py", line 18, in find_name
find_name(each_file)
[Previous line repeated 1017 more times]
File "E:/测试代码/030 4.py", line 7, in find_name
if op.splitext(each_file)[1] == '.txt':
File "C:\Users\巴鲁斯\AppData\Local\Programs\Python\Python38\lib\ntpath.py", line 208, in splitext
return genericpath._splitext(p, '\\', '/', '.')
File "C:\Users\巴鲁斯\AppData\Local\Programs\Python\Python38\lib\genericpath.py", line 131, in _splitext
sepIndex = max(sepIndex, altsepIndex)
RecursionError: maximum recursion depth exceeded in comparison |
|