Did I find the right examples for you? yes no

All Samples(20)  |  Call(18)  |  Derive(0)  |  Import(2)

src/p/y/python-pptx-0.4.2/pptx/parts/slide.py   python-pptx(Download)
from ..oxml import parse_xml_bytes
from ..oxml.ns import nsmap, _nsmap, qn
from ..oxml.shared import Element, SubElement
from ..oxml.shapes.shared import ST_Direction, ST_PlaceholderType
from ..shapes.autoshape import AutoShapeType
        """
        sld = Element('p:sld', nsmap('a', 'p', 'r'))
        SubElement(sld, 'p:cSld')
        SubElement(sld.cSld, 'p:spTree')
        SubElement(sld.cSld.spTree, 'p:nvGrpSpPr')
        SubElement(sld.cSld.spTree.nvGrpSpPr, 'p:cNvPr')

src/p/y/python-pptx-HEAD/pptx/parts/slide.py   python-pptx(Download)
from ..oxml import parse_xml_bytes
from ..oxml.ns import nsmap, _nsmap, qn
from ..oxml.shared import Element, SubElement
from ..oxml.shapes.shared import ST_Direction, ST_PlaceholderType
from ..shapes.autoshape import AutoShapeType
        """
        sld = Element('p:sld', nsmap('a', 'p', 'r'))
        SubElement(sld, 'p:cSld')
        SubElement(sld.cSld, 'p:spTree')
        SubElement(sld.cSld.spTree, 'p:nvGrpSpPr')
        SubElement(sld.cSld.spTree.nvGrpSpPr, 'p:cNvPr')