Ustaw pole hasła PYQT5

pw = QtGui.QLineEdit()
pw.setEchoMode(QtGui.QLineEdit.Password)
Puzzled Plover