zz = 5
def run():
letters = '0123456789ABCDEF'
for length in range(1, 25):
def product(*args, repeat=1):
pools = [tuple(pool) for pool in args] * repeat
result = [[]]
for pool in pools :
result = [x + [y] for x in result for y in pool]
for prod in result :
# print (prod)
yield tuple(prod)
s = product(letters, repeat=length)
for i in s:
# print(i)
# p = (''.join(i))
if zz <= length:
# print(len(zz))
# print(length)
print(i)
else:
print(i)
run()
поправил proxies = {"https" : "https://" + proxy} и заработало
спасибо