On 7/26/2007 5:45 PM, David Boddie wrote:
On Thu Jul 26 12:15:51 BST 2007, kib2 wrote:
I don't see any way to use the new QTextEdit->print() method in Python,
"print" is a Python keyword so I've tried with "print_" (like in
QTextDocument) but it failed.
Was it implemented ?
It looks like an interesting bug to me: the "print" method exists, but
you can't use it because print is a keyword!
You can get the method using getattr, and use it that way, but it's a hack.
A quick fix for the next snapshot, Phil?
There's also a print() method in QTextDocument.
--
Giovanni Bajo
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt