Unable to Import Termios Package
I Am Using Python 3.7 and I Need to Import Termios to Mask a Password Input. but I Am Unable to Find It on Import Sys, Tty, Termios Traceback (Most Recent Call...
I am using Python 3.7 and I need to import termios to mask a password input. But I am unable to find it on
import sys, tty, termios
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import sys, tty, termios
File "C:\Python37\lib\tty.py", line 5, in <module>
from termios import *
ModuleNotFoundError: No module named 'termios'
1 Answer
says:
Because it requires the termios module, it will work only on Unix.
i.e. there is no termios for Windows.