@@ -0,0 +1,315 @@
+import os%0Adef files_and_folders(dir_path='.'):%0A    files = %5B%5D%0A    folders = %5B%5D%0A    for filename in sorted(os.listdir(dir_path)):%0A        if os.path.isdir(os.path.join(dir_path, filename)):%0A            folders.append(filename)%0A        else:%0A            files.append(filename)%0A    return tuple(files), tuple(folders)%0A

Create files_and_folders.py