Guest User

Untitled

a guest
Jun 18th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. import json
  2. pwr = 5
  3. a = {"backers":[str(i).zfill(pwr) for i in range(10**pwr)]}
  4. data = json.dumps(a)
  5. with open('backers.json', 'w') as f: f.write(data)
Add Comment
Please, Sign In to add comment