Hence, we need a recursive function that differentiates between files and folders. os.path.isdir checks for us whether there is a folder below a path.
確定! 回上一頁