Skip to content

Instantly share code, notes, and snippets.

@tomekwojcik
Created December 21, 2011 21:12
Show Gist options
  • Save tomekwojcik/1507729 to your computer and use it in GitHub Desktop.
Save tomekwojcik/1507729 to your computer and use it in GitHub Desktop.
Tweet-sized password "generator" in Python.
import random; ''.join([ chr(i).lower() for i in random.sample(range(48, 57) + range(65, 90), 8) ])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment