The mp3 files are scattered across all four sub-directories. # And follow next directory from subdirectory list recursively until last directoryįor root, dirs, files in os.List directory contents using tree commandĪs you see in the above directory structure, the Linux directory has four sub-directories namely dir1, dir2, dir3 and dir4. # os.walk() returns subdirectories, file from current directory and
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |