[PyQt] Qt or Python?

Thomas Olsen tanghus at gmail.com
Fri Oct 2 12:31:50 BST 2009


In a Plasmoid I'm developing I receive a QByteArray which is a representation 
for a float value. I will have to do some calculation with this value and then 
write the result to a QLabel.

Which is most effective:

 1) Convert it to a QFloat, do the math, convert result to a QString and write 
it to the label.


 2) Convert it to a python float, do the math and write result to the label.


 3) Some other way I haven't thought of :-)

Best Regards / Med venlig hilsen

  Thomas Olsen

More information about the PyQt mailing list