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 8e1c2fe commit 072db39Copy full SHA for 072db39
Doc/library/os.rst
@@ -3760,9 +3760,9 @@ features:
3760
3761
import os
3762
for root, dirs, files, rootfd in os.fwalk('python/Lib/xml'):
3763
- print(root, "consumes", end="")
+ print(root, "consumes", end=" ")
3764
print(sum([os.stat(name, dir_fd=rootfd).st_size for name in files]),
3765
- end="")
+ end=" ")
3766
print("bytes in", len(files), "non-directory files")
3767
if '__pycache__' in dirs:
3768
dirs.remove('__pycache__') # don't visit __pycache__ directories
0 commit comments