无法导入 termios 包

sai*_*i68 4 termios python-3.7

我正在使用 Python 3.7,我需要import termios屏蔽密码输入。但我无法在https://pypi.org/上找到它

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'
Run Code Online (Sandbox Code Playgroud)

Adr*_*n W 9

https://docs.python.org/3/library/tty.html说:

因为它需要 termios 模块,所以它只能在 Unix 上工作。

即没有用于 Windows 的 termios。