How to hide user's input

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bart Nessux

    How to hide user's input

    locale = input("Where is the property located?\n 1. Town\n 2. City\n 3.
    County\n")

    How do I hide the input that the user types? The program runs in the
    bash shell.

    TIA!!!

  • Jeff Epler

    #2
    Re: How to hide user's input

    see the getpass module for one way to do this...

    Jeff

    Comment

    Working...