Skip to content

Instantly share code, notes, and snippets.

@daGrevis
Created August 14, 2012 08:23
Show Gist options
  • Select an option

  • Save daGrevis/3347513 to your computer and use it in GitHub Desktop.

Select an option

Save daGrevis/3347513 to your computer and use it in GitHub Desktop.
from string import ascii_letters # deprecated
>>> ''.join([chr(letter) for letter in range(97, 123) + range(65, 91)])
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment