Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/s/p/Spherebot-Host-GUI-HEAD/InkscapePortable/App/Inkscape/share/extensions/dxf_input.py   Spherebot-Host-GUI(Download)
            val = inkex.re.sub( '\\\\W.*;', '', val)
            val = unicode(val, options.input_encode)
            val = val.encode('unicode_escape')
            val = inkex.re.sub( '\\\\\\\\U\+([0-9A-Fa-f]{4})', '\\u\\1', val)
            val = val.decode('unicode_escape')

src/p/y/py-tcdb-0.4/test/test-hdb.py   py-tcdb(Download)
 
        obj = u'unicode text [áéíóú]'
        self.hdb.put_str(obj, obj.encode('utf8'))
        vsiz = self.hdb.vsiz(obj)
        self.assertEqual(vsiz, 25)

src/p/y/py-tcdb-0.4/test/test-fdb.py   py-tcdb(Download)
 
        obj = u'unicode text [áéíóú]'
        self.fdb.put_str(fdb.IDNEXT, obj.encode('utf8'))
        vsiz = self.fdb.vsiz(fdb.IDMAX)
        self.assertEqual(vsiz, 25)

src/p/y/py-tcdb-0.4/test/test-bdb.py   py-tcdb(Download)
 
        obj = u'unicode text [áéíóú]'
        self.bdb.put_str(obj, obj.encode('utf8'))
        self.assert_(obj in self.bdb)
        self.assert_(obj.upper() not in self.bdb)
 
        obj = u'unicode text [áéíóú]'
        self.bdb.put_str(obj, obj.encode('utf8'))
        vsiz = self.bdb.vsiz(obj)
        self.assertEqual(vsiz, 25)

src/p/y/py-tcdb-0.4/test/test-adb.py   py-tcdb(Download)
 
        obj = u'unicode text [áéíóú]'
        self.adb.put_str(obj, obj.encode('utf8'))
        vsiz = self.adb.vsiz(obj)
        self.assertEqual(vsiz, 25)