【问题标题】:Is there a way to censor an input in python? [duplicate]有没有办法审查python中的输入? [复制] 【发布时间】:2017-05-07 11:58:45 【问题描述】: 我想写一个有登录名的程序,但我不想让别人看到密码。那么我可以让它以某种方式被审查吗? 【问题讨论】: getpass 标签: python input 【解决方案1】: 有!看看getpass.getpass 【讨论】: