Answers for "how to get input from user in pyqt5"

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

Code answers related to "how to get input from user in pyqt5"

Python Answers by Framework

Browse Popular Code Answers by Language