def random_string(prefix, maxlen):
    symbols = ((string.ascii_letters + string.digits) + (' ' * 10))
    return (prefix + ''.join([random.choice(symbols) for i in range(random.randrange(maxlen))]))
def random_string(prefix, maxlen):
    symbols = ((string.ascii_letters + string.digits) + (' ' * 10))
    return (prefix + .join([random.choice(symbols) for i in range(random.randrange(maxlen))]))