[PyKDE] QString

Pete Ware ware at cis.ohio-state.edu
Sat Apr 1 21:27:10 BST 2000


What's the philosophy behind integrating qt.QString with the rest of
python.  For example, should one be able to use len()?  Should I
instead use len (repr (x))?

        x = qt.QString ('abc')
        x
        abc
        len (x)
        Traceback (innermost last):
          File "<stdin>", line 1, in ?
        AttributeError: __len__

--pete




More information about the PyQt mailing list