import getpass password=getpass.getpass(prompt=\"Password: \") print(password)
This really simple code displays the error:
Warn
Try running it on cmd.exe or windows PowerShell, instead of IDLE's.
i.e
> python myscript.py
Assuming you have the python executable on your path, and you're in the current directory of myscript.py.
myscript.py