3

I am quite new to Python and started using Eclipse with Pydev recently. I am writing a script where I'd like to enter a password via the console, and the password should not be displayed.

So far I was calling getpass.getpass(), which was fine when I ran my script in command line, but run in Eclipse the password is displayed while typing it. Apparently, this is a documented behavior for getpass. Do you know any workaround for this ?

P. Camilleri
  • 12,664
  • 7
  • 41
  • 76
  • short answer: you can't long answer: http://stackoverflow.com/questions/15668607/getpass-echoing-password-in-eclipse – ChrisK Dec 15 '14 at 14:58

0 Answers0