Python Forum

Full Version: **** PassWord
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Its nice library, i noticed it when IPython switched from readline to a prompt_toolkit (starting with 5.x) and it was huge improvement - syntax highlighting when typing, multiline edits, completion drop menus ...
while using getpass in python, nothing is
indicated to show an input.

this can be resolved by this simple solution:
just copy the 'getpass-ak. py' module provided in link to python's Lib folder.


Link:
<https://starrernet.wixsite.com/analytix/python-coder>

use the following code:

import getpass_ak

a=(getpass_ak.getpass('password: '))

#this will add* to your password inputs.
I wonder if it breaks python to do

import mygetpass as getpass
rmspacedashrf Wrote:I wonder if it breaks python to do

import mygetpass as getpass
It doesn't. You can redefine any name in your programs.
Pages: 1 2