Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
python2.7中怎样实现用户输入密码用*显示
xiangpeng
·
Feb 6, 2012
· 8681 views
This topic created in 5388 days ago, the information mentioned may be changed or developed.
RT 新手请教,看了下有个模块是getpass,没太看懂,有没有什么别的,请指教。
没太看
python2
getpass
6 replies
•
1970-01-01 08:00:00 +08:00
fanzeyi
Feb 6, 2012
1
getpass很难懂么
import getpass
pass = getpass.getpass('Password:')
013231
Feb 6, 2012
2
getpass输入密码是不回显的. unix风格的输入密码就是不回显的, 为何要显示*呢?
loading
Feb 6, 2012
3
getpass为什么不能可选回显*呢?(我没看文档,可能有误,望指正)
phus
Feb 6, 2012
4
https://gist.github.com/1751561
xiangpeng
OP
Feb 6, 2012
5
@
fanzeyi
不是我看不懂,但是我在win下的python2.7中提示警告,怎么办?
xiangpeng
OP
Feb 6, 2012
6
好了 明白了 谢了各位。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
663 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 21:34
·
PVG 05:34
·
LAX 13:34
·
JFK 16:34
♥ Do have faith in what you're doing.
❯