Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import string
- import random
- def randstring(n):
- a = string.ascii_letters + string.digits
- return ''.join([random.choice(a) for i in range(n)])
- count = 0;
- with open('1.txt', 'tw', encoding='utf-8') as f:
- while count < 100000:
- f.write(randstring(32) + " " + str(random.randint(0, 100000)) + '\n')
- count += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement