|Eclipse "Echo-free Input" Support [message #1404766]
||Tue, 05 August 2014 14:54
|| Gregory Greenleaf
Registered: August 2014
Location: Marina, CA
I am using the PyDev plugin (22.214.171.124406232321), Windows 8.1 Professional 64-bit, and Eclipse 4.4 (Luna).
One part of my Python program is meant to receive a password using the "getpass" module. The code is simple, and as the user enters the password, it doesn't print out as it's being typed. Code is implemented as such:
user = raw_input("Enter your username: ")
password = getpass.getpass("Enter your password: ")
The code works in Windows PowerShell/Command Prompt and the *nix Terminal, but not in IDLE or Eclipse. I'm assuming that it won't work in any IDE that isn't native to its operating system. This may not even be an Eclipse problem specifically, but I was just wondering if anyone had some insight for me?
Both IDLE and Eclipse don't seem to support terminal cursor movement as well, such as being able to display an installation progress bar that refreshes to the same terminal line. Are there patches planned for these issues in future releases?
Thanks in advance for your help.
(Size: 5.43KB, Downloaded 303 times)
CSIT, CSU Monterey Bay
Powered by FUDForum
. Page generated in 0.03198 seconds