def generate_password():
"""
Generates the random temporary password.
:rtype str: The new temp password.
"""
return ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(PASSWORD_LENGTH))
# ----------------------------------------------------------------------------------------------------------------------
评论列表
文章目录