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.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32463-4ea65.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32463-4ea65.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?