title: python getpass password input with asterisks
body: <p>How to  get asterisks during inputting password using getpass module in python?</p>
  
  <p>actual Results:</p>
  
  <pre><code>import getpass                                                                       
  
  p=getpass.getpass("Enter the Password:")
  
  Enter the Password:
  
  print (p)
  
  Output: password
  </code></pre>
  
  <p>Expecting results:</p>
  
  <pre><code>import getpass                                                                       
  
  p=getpass.getpass("Enter the Password:")
  
  Enter the Password:********
  
  print (p)
  
  Output: password
  </code></pre>
  
  <p>Python Version: 2.7</p>