Skip to content

Instantly share code, notes, and snippets.

@teitei-tk
Created February 3, 2014 06:30
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 teitei-tk/8779632 to your computer and use it in GitHub Desktop.
Save teitei-tk/8779632 to your computer and use it in GitHub Desktop.
make random_text
#!/usr/bin/env python
def random_string():
import string, random
return ''.join([random.choice(string.ascii_letters + string.digits) for i in range(50)])
if __name__ == "__main__":
print random_string()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment