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.