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? David _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
