python密码输入模块getpass

import getpass
pwd = getpass.getpass("请输入密码")
print(pwd)

 

posted @ 2017-06-09 16:49  许小伍  阅读(261)  评论(0)    收藏  举报