def rand_name(size=8, chars=string.ascii_letters): return ''.join(random.choice(chars) for x in xrange(1, size))