- b = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V', 'W','X','Y','Z']
- omg = itertools.permutations(b, pwd_len)
+ b = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
# или
# from string import ascii_uppercase
# b = ascii_uppercase
+ omg = itertools.permutations(b*pwd_len, pwd_len)