def random_chars(n):
    """
    Generate a random string from a-zA-Z0-9
    :param n: length of the string
    :return: the random string
    """
    return ''.join(random.SystemRandom().choice(string.ascii_letters + string.digits) for _ in range(n))
def random_chars(n):
    """
    Generate a random string from a-zA-Z0-9
    :param n: length of the string
    :return: the random string
    """
    return ''.join(random.SystemRandom().choice(string.ascii_letters + string.digits) for _ in range(n))
def random_chars ( n ) : return '' . join ( random . SystemRandom ( ) . choice ( string . ascii_letters + string . digits ) for _ in range ( n ) )
Generate a random string from a-zA-Z0-9
    :param n: length of the string
    :return: the random string
Generate a random string from a - zA - Z0 - 9 : param n : length of the string : return : the random string