Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
unicode(object='') -> unicode object
unicode(string[, encoding[, errors]]) -> unicode object

Create a new Unicode object from the given encoded string.
encoding defaults to the current default string encoding.
errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.

src/i/p/ipython-HEAD/IPython/utils/openpy.py   ipython(Download)
import re
 
from .py3compat import unicode_type
 
cookie_re = re.compile(r"coding[:=]\s*([-\w.]+)", re.UNICODE)

src/i/p/ipython-2.0.0/IPython/utils/openpy.py   ipython(Download)
import re
 
from .py3compat import unicode_type
 
cookie_re = re.compile(r"coding[:=]\s*([-\w.]+)", re.UNICODE)

src/z/p/zpyrpc-HEAD/zpyrpc/proxy.py   zpyrpc(Download)
 
from .base import RPCBase
from .py3compat import unicode_type
 
#-----------------------------------------------------------------------------