以下这句话python 错误提示:too many values to unpack
for root, files in os.walk(file_name):
就是参数少了,改为:
for root, dir1, files in os.walk(file_name):没问题了!!!!!
以下这句话python 错误提示:too many values to unpack
for root, files in os.walk(file_name):
就是参数少了,改为:
for root, dir1, files in os.walk(file_name):没问题了!!!!!