os.listdir() lists all the files and folders in the directory. ... You can use the PathLib library to list all files from a directory.
確定! 回上一頁