Hide raw_input text?

Jerry Hill malaclypse2 at gmail.com
Wed Aug 13 13:58:46 EDT 2008


On Wed, Aug 13, 2008 at 1:26 PM, tmallen <thomasmallen at gmail.com> wrote:
> I'm working on a little FTP project to get comfortable with ftplib.
> It's all terminal-based right now, and one issue I'm having is hiding
> password input text. I'd like one of two things to happen with this:
> Either don't show any characters while I'm typing (like $ su),

The getpass module does that. http://docs.python.org/lib/module-getpass.html

-- 
Jerry



More information about the Python-list mailing list