Skip to content

Instantly share code, notes, and snippets.

@Squab
Created January 10, 2015 21:11
Show Gist options
  • Save Squab/e8fd78266f41eb4f18a4 to your computer and use it in GitHub Desktop.
Save Squab/e8fd78266f41eb4f18a4 to your computer and use it in GitHub Desktop.
Generate a big file with Python
if __name__ == "__main__":
f = open('input.txt', 'w')
for x in range(0,2000000):
s = "SADD set %s\n" % str(x)
f.write(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment