Defina o campo de senha pyqt5
pw = QtGui.QLineEdit()
pw.setEchoMode(QtGui.QLineEdit.Password)
Puzzled Plover
pw = QtGui.QLineEdit()
pw.setEchoMode(QtGui.QLineEdit.Password)