Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. import os
  2. import uuid
  3. from tqdm import tqdm
  4.  
  5. for i in tqdm(range(10000)):
  6.     filename = str(uuid.uuid4())
  7.     with open(filename + '.dat', 'wb') as fout:
  8.         fout.write(os.urandom(10241024)) # replace 1024 with size_kb if not unreasonably large
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement