Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import tempfile
- file = tempfile.TemporaryFile()
- for i in range(100):
- file.write("*" * 100)
- file.close() # removes the file!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement