• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(313)  |  Call(3)  |  Derive(1)  |  Import(309)
unicode(string [, encoding[, errors]]) -> 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/a/l/alexandria-HEAD/src/alexandria/sessions/db/models.py   alexandria(Download)
        ('None', lambda v: None), 
        ('String', lambda v: types.StringType(v)), 
        ('Tuple', lambda v: tuple(simplejson.loads(v))), 
        ('Unicode', lambda v: types.UnicodeType(v)), 
    ]
 
    # the order is importance since python things True == 1 causing

src/z/o/zope.app.twisted-3.5.0/src/twisted/spread/jelly.py   zope.app.twisted(Download)
import types
from types import StringType
try:
    from types import UnicodeType
except ImportError:
    UnicodeType = None
from types import IntType

src/s/p/springnote.py-with-oauth-HEAD/springnote.py   springnote.py-with-oauth(Download)
        'offset'   : lambda x: types.IntType(x),
        'count'    : lambda x: types.IntType(x),
        'parent_id': lambda x: types.IntType(x),
        'q'        : lambda x: types.UnicodeType(x),
        'tags'     : lambda x: types.UnicodeType(x),
        'identifiers': lambda x: re.match("([0-9]+,)*[0-9]+", str(x)).group(0), 
    }

src/i/r/ironruby-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Doc/docutils/nodes.py   ironruby(Download)
import os
import re
import warnings
from types import IntType, SliceType, StringType, UnicodeType, \
     TupleType, ListType, ClassType, TypeType
from UserString import UserString
 

src/b/a/banyanims-HEAD/trunk/dependencies/zope-instance-2.7.4-0/Products/Archetypes/Field.py   banyanims(Download)
from cgi import escape
from cStringIO import StringIO
from types import ListType, TupleType, ClassType, FileType, DictType, IntType
from types import StringType, UnicodeType, StringTypes
 
from AccessControl import ClassSecurityInfo
from AccessControl import getSecurityManager

src/b/a/banyanims-HEAD/dependencies/zope-instance-2.7.4-0/Products/Archetypes/Field.py   banyanims(Download)
from cgi import escape
from cStringIO import StringIO
from types import ListType, TupleType, ClassType, FileType, DictType, IntType
from types import StringType, UnicodeType, StringTypes
 
from AccessControl import ClassSecurityInfo
from AccessControl import getSecurityManager

src/z/e/zenoss-HEAD/trunk/Products/PluggableAuthService/UserPropertySheet.py   zenoss(Download)
    from types import StringTypes
except ImportError:
    from types import StringType
    from types import UnicodeType
    StringTypes = ( StringType, UnicodeType )
 
_SequenceTypes = ( TupleType, ListType )

src/z/e/zenoss-HEAD/Products/PluggableAuthService/UserPropertySheet.py   zenoss(Download)
    from types import StringTypes
except ImportError:
    from types import StringType
    from types import UnicodeType
    StringTypes = ( StringType, UnicodeType )
 
_SequenceTypes = ( TupleType, ListType )

src/b/a/banyanims-HEAD/trunk/dependencies/zope-instance-2.7.4-0/Products/Archetypes/utils.py   banyanims(Download)
from inspect import getargs, getmro
from md5 import md5
from types import TupleType, ListType, ClassType, IntType, NoneType
from types import UnicodeType, StringType, MethodType
from UserDict import UserDict as BaseDict
 
from AccessControl import ClassSecurityInfo

src/b/a/bases-HEAD/trunk/bases/thirdparty/jecode.py   bases(Download)
 
 
from types import NoneType, IntType, LongType, FloatType, DictType, ListType
from types import TupleType, StringType, UnicodeType, BooleanType
 
# Encode integers
def encode_int(x, r):

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next