不了解的话,永远也学不会。 os.walk()是Python原生的遍历文件夹方法, ... depth = 1 for root, subdir, filenames in os.walk(): if depth is 2: ...
確定! 回上一頁