python:实现扫描当前目录和所有子目录并显示大小
import os
import sys # Load the library module and the sys module for the argument vector'''
try:
directory = sys.argv[
1
] # Set the variable directory to be the argument supplied by user.
except IndexError:
sys