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