Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Karlheinzniebuhr/0bb8f0fbb462523feda2 to your computer and use it in GitHub Desktop.
Save Karlheinzniebuhr/0bb8f0fbb462523feda2 to your computer and use it in GitHub Desktop.
import random
text_file = open("randomwordlist.txt", "w")
for i in range(100000000):
text_file.write(str(random.randint(1, 1000000))+"\n")
text_file.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment