python输入密码-隐藏

import getpass

username = input("username:")
password = getpass.getpass("password:")

print(username,password)

posted @ 2020-07-02 18:11  hanjianfei  阅读(763)  评论(0编辑  收藏  举报