Hide given input in Python console

Опубликовано: 04 Октябрь 2024
на канале: LearnTechTrends
7,780
82

getpass function prompts the user to enter a password. By default the keys entered by user in the terminal are not echoed. Also the default prompt that appears on terminal is ‘password’ which can be customized by providing a string as parameter.

Source code : https://github.com/learn-tech-trends/...
getpass module docs : https://docs.python.org/3/library/get...

Follow us on:
Facebook :   / learn-tech-trends-106052037839046  
Twitter :   / trendslearn  
Instagram :   / learntechtrends