Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse "Echo-free Input" Support(Does or will Eclipse support this terminal feature?)
Eclipse "Echo-free Input" Support [message #1404766] Tue, 05 August 2014 14:54
Gregory Greenleaf is currently offline Gregory GreenleafFriend
Messages: 2
Registered: August 2014
Location: Marina, CA
Junior Member

Hello,

I am using the PyDev plugin (3.6.0.210406232321), 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:

import getpass

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.
  • Attachment: getpass.py
    (Size: 5.43KB, Downloaded 335 times)


Regards,

G.P. Greenleaf
CSIT, CSU Monterey Bay
Previous Topic:What error is this. new to eclipse
Next Topic:Mock View Won't Display
Goto Forum:
  


Current Time: Tue Apr 23 07:06:21 GMT 2024

Powered by FUDForum. Page generated in 0.09597 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top