python密码输入模块getpass

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

 

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