<type 'unicode'>
Michael Gilfix
mgilfix at eecs.tufts.edu
Mon May 6 01:18:09 EDT 2002
Either the str () function or do something like:
string = "%s" %attrib
-- Mike
On Mon, May 06 @ 05:06, Billy Ng wrote:
> Hi folks,
>
> I notice the node.getAttribute() returns the unicode type string. How can I
> cast it to string type?
>
> Thanks!
>
> Billy Ng
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
`-> (kwokng)
--
Michael Gilfix
mgilfix at eecs.tufts.edu
For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html
More information about the Python-list
mailing list