Did I find the right examples for you? yes no

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

src/i/r/ironpython3-HEAD/Src/StdLib/Lib/platform.py   ironpython3(Download)
 
    with open(fn, 'rb') as f:
        pl = plistlib.load(f)
    release = pl['ProductVersion']
    versioninfo = ('', '', '')

src/c/p/cpython-HEAD/Lib/platform.py   cpython(Download)
 
    with open(fn, 'rb') as f:
        pl = plistlib.load(f)
    release = pl['ProductVersion']
    versioninfo = ('', '', '')

src/i/r/ironpython3-HEAD/Src/StdLib/Lib/test/test_plistlib.py   ironpython3(Download)
 
        with open(support.TESTFN, 'rb') as fp:
            pl2 = plistlib.load(fp)
 
        self.assertEqual(dict(pl), dict(pl2))
                pl = self._create(fmt=fmt)
                plistlib.dump(pl, b, fmt=fmt)
                pl2 = plistlib.load(BytesIO(b.getvalue()))
                self.assertEqual(dict(pl), dict(pl2))
 
 
                    plistlib.dump(pl, b, fmt=fmt, sort_keys=sort_keys)
                    pl2 = plistlib.load(BytesIO(b.getvalue()),
                        dict_type=collections.OrderedDict)
 

src/c/p/cpython-HEAD/Lib/test/test_plistlib.py   cpython(Download)
 
        with open(support.TESTFN, 'rb') as fp:
            pl2 = plistlib.load(fp)
 
        self.assertEqual(dict(pl), dict(pl2))
                pl = self._create(fmt=fmt)
                plistlib.dump(pl, b, fmt=fmt)
                pl2 = plistlib.load(BytesIO(b.getvalue()))
                self.assertEqual(dict(pl), dict(pl2))
 
 
                    plistlib.dump(pl, b, fmt=fmt, sort_keys=sort_keys)
                    pl2 = plistlib.load(BytesIO(b.getvalue()),
                        dict_type=collections.OrderedDict)