We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
os.fwalk()
1 parent b5017de commit 08e9794Copy full SHA for 08e9794
Doc/library/os.rst
@@ -3687,9 +3687,9 @@ features:
3687
3688
import os
3689
for root, dirs, files, rootfd in os.fwalk('python/Lib/xml'):
3690
- print(root, "consumes", end="")
+ print(root, "consumes", end=" ")
3691
print(sum([os.stat(name, dir_fd=rootfd).st_size for name in files]),
3692
- end="")
+ end=" ")
3693
print("bytes in", len(files), "non-directory files")
3694
if '__pycache__' in dirs:
3695
dirs.remove('__pycache__') # don't visit __pycache__ directories
0 commit comments