How does QMessageBox output variables in PyQt5?

look up some methods about the use of QMessageBox.information on the Internet, but basically all of them are about C/CPP, there is little information about PyQt5, and
format and tr (). Arg () are not easy to use.
how to output variables through QMessageBox in Python?

Mar.17,2021

use the sprintf function to get what you want into the character array, and then use Qmessagebox to get the string

from the character array.
Menu