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 Q
Michael McGarry 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).
sorry for wasting newsgroup space.
Depending on the kind of string you have, latin1() may be a better
> 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
--
http://mail.python.org/mailman/listinfo/python-list
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).
sorry for wasting newsgroup space.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
How do I convert from a qt.QString to a Python string?
Michael
--
http://mail.python.org/mailman/listinfo/python-list