Table of Contents

About

unicode is an object type unicode.

See also: Python - Encoding and Unicode

Type

>>> type(u'myUnicode')
<type 'unicode'>

Conversion

Float

>>> unicode('%.3f' % 1)
u'1.000'

Function

Split

split() can be called directly on a unicode or str object. For example,

>>> u'split,me'.split(',')
[u'split', u'me']

Documentation / Reference