You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to spyd...@googlegroups.com
import getpass getpass.getpass()
hangs Spyder (2.1.11) when running on Windows. Googling around, it seems to be a known problem, but I wasn't able to find any workaround. Is there a fix / patch? If not, it there a suggested alternative way to get user entered passwords?
Thanks,
Carlos Córdoba
unread,
Mar 5, 2013, 11:33:34 AM3/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to spyd...@googlegroups.com
I'm sorry but I think there is no alternative or workaround for using
getpass because it seems to need a real terminal to do its job.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to spyd...@googlegroups.com
Thanks,
What I will likely do is put a text input dialog into the ExternalPythonShell class and pass the given password down to the external shell. Pretty ugly, but I think I can make it work.
On a related note, is there any thought of adding a hook to ExternalPythonShell.send_to_process so that new commands can be added w/o replicating the logic of the method? Assuming I do go with a dialog box widget, it would be nice to be able to have a shell command, e.g. %password, which popped up the dialog and then passed the response down to the external shell wrapped in something more specific than 'evalsc' . (Obviously, I would have to add the new external shell command in my startup script).