from random import choice
s = "abcdefghijklmnopqrstuvwxyz"
c = ""
[c+=choice(s) for i in range(1000)]