title: How to get input of password, but replacing characters with '*'
body: <p>All in the title really...</p>
  
  <p>I know you can use </p>
  
  <pre><code>getpass.getpass()
  </code></pre>
  
  <p>however, if distributing some code like this, people are used to having their characters by '*' so could give the impression that may make them believe their keyboard isn't working when they see no characters popping up on the screen.</p>
  
  <p>I want to have <code>'example'</code> show up as <code>'*******'</code> during the input, so that:</p>
  
  <pre><code>Enter Password: example
  </code></pre>
  
  <p>will show up as </p>
  
  <pre><code>Enter Password: *******
  </code></pre>
  
  <p>Thanks for any answers</p>