As of Python 3.5, the os.walk() function uses os.scandir() in the ... and the depth states how many layers of folders the file or folder is.
確定! 回上一頁