def make_tmp_name(length=8):
 return ''.join(sample(list(lowercase), length))

def make_tmp_name ( length = 8 ) : return '' . join ( sample ( list ( lowercase ) , length ) )
returns a random string of specified length .