password line edit on pyqt5 code example Example: pyqt5 line edit password input editor = QLineEdit() editor.setEchoMode(QLineEdit.Password)