Advertisement
Guest User

lmao

a guest
Mar 25th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. import os
  2.  
  3. for i in range(500):
  4.     with open(os.getcwd() + '\\' + str(i) + '.txt', 'w+') as f:
  5.         f.write('spaghetti')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement