Did I find the right examples for you? yes no

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

src/p/y/python-pptx-0.4.2/pptx/parts/presentation.py   python-pptx(Download)
 
from ..opc.package import Part
from ..oxml import parse_xml_bytes
from .slide import SlideCollection
from ..util import lazyproperty
    def load(cls, partname, content_type, blob, package):
        presentation_elm = parse_xml_bytes(blob)
        presentation = cls(partname, content_type, presentation_elm, package)
        return presentation
 

src/p/y/python-pptx-HEAD/pptx/parts/presentation.py   python-pptx(Download)
 
from ..opc.package import Part
from ..oxml import parse_xml_bytes
from .slide import SlideCollection
from ..util import lazyproperty
    def load(cls, partname, content_type, blob, package):
        presentation_elm = parse_xml_bytes(blob)
        presentation = cls(partname, content_type, presentation_elm, package)
        return presentation
 

src/p/y/python-pptx-0.4.2/pptx/parts/slide.py   python-pptx(Download)
from ..opc.package import Part
from ..opc.packuri import PackURI
from ..oxml import parse_xml_bytes
from ..oxml.ns import nsmap, _nsmap, qn
from ..oxml.shared import Element, SubElement
    def load(cls, partname, content_type, blob, package):
        slide_elm = parse_xml_bytes(blob)
        slide = cls(partname, content_type, slide_elm, package)
        return slide
 

src/p/y/python-pptx-0.4.2/pptx/parts/coreprops.py   python-pptx(Download)
from ..opc.package import Part
from ..opc.packuri import PackURI
from ..oxml import parse_xml_bytes
from ..oxml.coreprops import CT_CoreProperties
 
    def load(cls, partname, content_type, blob, package):
        core_props_elm = parse_xml_bytes(blob)
        core_props = cls(partname, content_type, core_props_elm)
        return core_props
 

src/p/y/python-pptx-HEAD/pptx/parts/slide.py   python-pptx(Download)
from ..opc.package import Part
from ..opc.packuri import PackURI
from ..oxml import parse_xml_bytes
from ..oxml.ns import nsmap, _nsmap, qn
from ..oxml.shared import Element, SubElement
    def load(cls, partname, content_type, blob, package):
        slide_elm = parse_xml_bytes(blob)
        slide = cls(partname, content_type, slide_elm, package)
        return slide
 

src/p/y/python-pptx-HEAD/pptx/parts/coreprops.py   python-pptx(Download)
from ..opc.package import Part
from ..opc.packuri import PackURI
from ..oxml import parse_xml_bytes
from ..oxml.coreprops import CT_CoreProperties
 
    def load(cls, partname, content_type, blob, package):
        core_props_elm = parse_xml_bytes(blob)
        core_props = cls(partname, content_type, core_props_elm)
        return core_props