How can I break this loop once the file I want in os.walk() is found?

后端 未结 0 871
长发绾君心
长发绾君心 2020-12-04 03:34

I am using an os.walk() loop and if statement to find the path of a file. It works, however after the path is found and printed the loop doesn\'t break for a few seconds aft

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