Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitab50b84

Browse files
authored
Merge pull requestwilfredinni#460 from skyunna/patch-3
Update file-directory-path.md
2 parents6458c56 +fd04407 commitab50b84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎docs/cheatsheet/file-directory-path.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,9 @@ If there is no eggs folder, then `move()` will rename bacon.txt to a file named
498498
>>>for folder_name, subfolders, filenamesin os.walk('C:\\delicious'):
499499
...print(f'The current folder is{folder_name}')
500500
...for subfolderin subfolders:
501-
...print('SUBFOLDER OF{folder_name}:{subfolder}')
501+
...print(f'SUBFOLDER OF{folder_name}:{subfolder}')
502502
...for filenamein filenames:
503-
...print('FILE INSIDE{folder_name}:filename{filename}')
503+
...print(f'FILE INSIDE{folder_name}:{filename}')
504504
...print('')
505505
...
506506
# The current folder is C:\delicious

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp