<s> import random <EOL> import six <EOL> import string <EOL> def random_string ( lenght , charset = None ) : <EOL> """<STR_LIT>""" <EOL> charset = charset or string . ascii_letters + string . digits <EOL> return '<STR_LIT>' . join ( [ str ( random . choice ( charset ) ) <EOL> for i in six . moves . range ( lenght ) ] ) </s>
