About 1,190,000 results
Open links in new tab
  1. python - Getting a hidden password input - Stack Overflow

    The function secure_password_input() returns the password as a string when called. It accepts a Password Prompt string, which will be displayed to the user to type the password

    Missing:

    • CLI

    Must include:

  2. getpass() and getuser() in Python (Password without echo)

    Sep 15, 2022 · getpass () prompts the user for a password without echoing. The getpass module provides a secure way to handle the password prompts where programs interact with the …

    Missing:

    • CLI

    Must include:

  3. getpass — Portable password input — Python 3.13.3 …

    1 day ago · getpass. getpass (prompt = 'Password: ', stream = None) ¶ Prompt the user for a password without echoing. The user is prompted using the string prompt, which defaults to …

  4. python - Read password from stdin - Stack Overflow

    password = raw_input('Password: ', dont_print_statement_back_to_screen) Alternative: Replace the typed characters with '*' before sending them back to screen (aka browser' style). python

  5. Python: Using getpass with argparse - Stack Overflow

    Jan 13, 2015 · import argparse from getpass import getpass parser = argparse.ArgumentParser(description="specify or prompt for a hidden password.") …

  6. pwd module in Python - GeeksforGeeks

    Aug 2, 2019 · pwd.getpwnam() method in Python is used to get the password database entry for the specified user name . Syntax: pwd.getpwnam(name) Parameter: name: A string value …

  7. Solved: How to Read Password from Stdin in Python Without

    Nov 6, 2024 · Python offers a built-in way to achieve this through the getpass module, which allows you to prompt the user for a password without echoing back the typed characters. …

  8. Python: Get password from terminal without echoing

    Nov 25, 2019 · The getpass module has two functions used to retrieve a username and a password from the terminal. These can be used in commandline programs that require a user …

  9. Python Getpass Module: A Simple Guide + Video – Be on the

    Jun 7, 2022 · The Python getpass module provides portable password input functionality and allows you to accept an input string in a command-line interface (CLI) without the string being …

  10. Top 6 Methods to Securely Input Passwords in Python - sqlpey

    Dec 5, 2024 · This article delves into top methods to achieve hidden password input in Python, mirroring the behavior seen in Linux terminals when entering passwords using sudo …

  11. Some results have been removed
Refresh