Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- for i in range(500):
- with open(os.getcwd() + '\\' + str(i) + '.txt', 'w+') as f:
- f.write('spaghetti')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement