Phil Thompson wrote: >> Michael McGarry wrote: >>> Hi, >>> >>> How do I convert from a qt.QString to a Python string? >>> >>> Michael >> Apparently the ascii() method of QString does this. (I answered my own >> question). > > Or use the str() builtin. > > Phil
unicode() is even better because QString might contain non-ASCII characters. Detlev -- Detlev Offenbach [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list