Name

getpass

Synopsis

getpass(prompt='Password: ')

Like raw_input, except that the line of text the user inputs in response is not echoed to the screen while the user is typing it. Also, getpass’s default prompt is different from raw_input’s.

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.