We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d135e1a commit acb150aCopy full SHA for acb150a
docs/modules/os-module.md
@@ -217,9 +217,9 @@ You can get a relative path from a starting path to another path.
217
>>> for folder_name, subfolders, filenames in os.walk('C:\\delicious'):
218
... print(f'The current folder is {folder_name}')
219
... for subfolder in subfolders:
220
-... print('SUBFOLDER OF {folder_name}: {subfolder}')
+... print(f'SUBFOLDER OF {folder_name}: {subfolder}')
221
... for filename in filenames:
222
-... print('FILE INSIDE {folder_name}: filename{filename}')
+... print(f'FILE INSIDE {folder_name}: filename{filename}')
223
... print('')
224
...
225
# The current folder is C:\delicious
0 commit comments