MCPcopy Create free account
hub / github.com/scanny/python-pptx / add_run

Method add_run

src/pptx/text/text.py:478–481  ·  view source on GitHub ↗

Return a new run appended to the runs in this paragraph.

(self)

Source from the content-addressed store, hash-verified

476 self._p.add_br()
477
478 def add_run(self) -> _Run:
479 """Return a new run appended to the runs in this paragraph."""
480 r = self._p.add_r()
481 return _Run(r, self)
482
483 @property
484 def alignment(self) -> PP_PARAGRAPH_ALIGNMENT | None:

Callers 1

it_can_add_a_runMethod · 0.80

Calls 2

_RunClass · 0.85
add_rMethod · 0.80

Tested by 1

it_can_add_a_runMethod · 0.64