import string # all the lowercase and uppercase letters print(string.ascii_letters) # every printable key on your keyboard print(string.printable) # every digit print(string.digits)
'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'