title: How do I convert a password into asterisks while it is being entered?
body: <p>Is there a way in Python to convert characters as they are being entered by the user to asterisks, like it can be seen on many websites?</p>
  
  <p>For example, if an email user was asked to sign in to their account, while typing in their password, it wouldn't appear as characters but rather as <code>*</code> after each individual stroke without any time lag.</p>
  
  <p>If the actual password was <code>KermitTheFrog</code>, it would appear as <code>*************</code> when typed in.</p>