I am requesting user input. I am asking for username then password. EG
username = input('Please enter a Username:\n')
password = input('Please enter a Password:\n')
When run this will of course appear like this:
Please enter a Username:
Iain
Please enter a Password:
Iain
What I want is this:
Please enter a Username:
Iain
Please enter a Password:
****
You can use a library called pwinput.
You can install it using pip:
pip3 install pwinput.And use it as follows:
This would open a prompt like this:
If you want to remove the text 'Password:', you can do: