pyqt5 button functionality code example
Example: pyqt5 buttons
b1 = QtWidgets.QPushButton(win)
b1.setText("click me")
#b1.move(100,100) to move the button
b1 = QtWidgets.QPushButton(win)
b1.setText("click me")
#b1.move(100,100) to move the button