Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for path, subdirs, files in os.walk(args.data_dir):
- for name in files:
- x = os.path.getsize(path+"\\"+name)
- y = []
- y.append(x)
- print(y)
- print(path + "\\" + name + " " + str(x)+'KB')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement