M
M
Mage From The Space2015-09-06 06:39:53
Python
Mage From The Space, 2015-09-06 06:39:53

How to ask for a password in python?

Input works but only with any button. (I don’t know, maybe I need some kind of string that is displayed when I enter brackets.)
I didn’t find anything on the Internet. Please, help

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor S, 2015-09-06
@Magefts

getpass

M
Mage From The Space, 2015-09-06
@Magefts

Thanks, but when I enter the code, I get an error: NameError: name 'getpass' is not defined either I have problems with my head or the python version is not suitable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question