About Password Input in Command Line Tools
When writing a Python script that asks for a password, use the getpass
module, so that the password is not echoed to the screen:
import getpass
username = input("Username: ").strip()
password = getpass.getpass("Password: ")
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You