Qt String Question

Phil Thompson phil at riverbankcomputing.co.uk
Mon Dec 13 05:38:47 EST 2004


> 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




More information about the Python-list mailing list