Python 3.x getpass.getpass([prompt])将错误抛出为;win_getpass msvcrt.putwch(c)TypeError:putwch()参数必须是unicode字符,而不是module";

Python 3.x getpass.getpass([prompt])将错误抛出为;win_getpass msvcrt.putwch(c)TypeError:putwch()参数必须是unicode字符,而不是module";,python-3.x,getpass,Python 3.x,Getpass,导入getpass 作为提示导入提示 password=getpass.getpass([prompt]) 打印(密码)

导入getpass

作为提示导入提示 password=getpass.getpass([prompt]) 打印(密码)