Advertisement
Guest User

Untitled

a guest
May 22nd, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. import tempfile
  2.  
  3. file = tempfile.TemporaryFile()
  4.  
  5. for i in range(100):
  6. file.write("*" * 100)
  7.  
  8. file.close() # removes the file!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement