Answers for "pyqt5 how to get user input from message box"

1

how to get input from user in pyqt5

name, result = QtWidgets.QInputDialog.getText(MainWindow, "Name of the Team",
                                                          "Enter the name of your team:")
# Put this code inside a function and connect it to any signal.
Posted by: Guest on September-25-2020

Python Answers by Framework

Browse Popular Code Answers by Language