SHARE
TWEET

Untitled

a guest Oct 21st, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   for path, subdirs, files in os.walk(args.data_dir):
  2.         for name in files:
  3.             x =  os.path.getsize(path+"\\"+name)
  4.             y = []
  5.             y.append(x)
  6.             print(y)
  7.             print(path + "\\" + name + " " + str(x)+'KB')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top