In normal Python (3.x) we always use showerror() from the tkinter module to display an error message but what should I do in PyQt5 to display exactly the same message type a
To show a message box, you can call this def:
from PyQt5.QtWidgets import QMessageBox, QWidget MainClass(QWidget): def __init__(self): super().__init__() def clickMethod(self): QMessageBox.about(self, "Title", "Message")