def data(length, charset):
return "<STR_LIT>".join(_choice(charset) for x in range(length))<EOL>
Generate ``length`` random characters from charset ``charset``

    :param int length: The number of characters to randomly generate
    :param str charset: The charset of characters to choose from
    :returns: str