()
return ''.join(random.choice(chars) for x in range(15))
This method creates a random password for an sms user registered via sms
This method creates a random password for an sms user registered via sms
This method creates a random password for an sms user registered via sms
def random_password():
    """
    This method creates a random password for an sms user registered via sms
    """
    chars = string.ascii_uppercase + string.ascii_lowercase + string.digits
    return ''.join(random.choice(chars) for x in range(15))
def random_password ( ) : chars = string . ascii_uppercase + string . ascii_lowercase + string . digits return '' . join ( random . choice ( chars ) for x in range ( 15 ) )