[PyKDE] Working with QTextStream

Boudewijn Rempt bsarempt at xs4all.nl
Sat Jun 30 20:28:15 BST 2001


I'm investigating PyQt's stream classes - since they are implemented,
I need to say something about them. From what I've seen up to now
I understand that it isn't possible to actually write to the streams,
since there is no write method that corresponds to the read method.
You're supposed to use C++'s << operator.

Things don't work that way on Python. Would it be possible to make
a synthetic write method that replaces <<? Or is that just to much
work to make something work for which there are perfect Python
alternatives?

Boudewijn





More information about the PyQt mailing list