-
How to set indentation when text box overflow in Python pptx,
my codes is here:
def set_shrink_text_on_overflow(shape):
import pptx
print(pptx.__version__)
if shape.has_text_frame:
…
-
I think I discovered an issue
Since we cannot add mp3 media using the pptx library, I added a layout with what I wanted and a mp3 media.
Once I do this, when I tried to add a mp4 video, I get the…
-
Hi,
I was wondering if it was currently possible to activate and use the `morph` feature for transitioning an image element between two slides (thus changing its location, orientation, zoom, ...). …
nnako updated
8 months ago
-
**Describe the bug**
The `convert_office_doc` function used to convert file types such as ppt and doc to their modern equivalents (pptx and docx respectively for example) is NOT thread safe as in *…
cwang updated
4 weeks ago
-
Hi Scanny,
Please tell me how do I add hyperlink to an image
Here is my script
```
from pptx import Presentation
import pptx.util
from pptx.util import Inches, Pt
pptfile = r"C:\Users\…
-
Hey - so this might be a question about python or it might be about python-pptx.
I'm looking at the following code:
```
from pptx import Presentation
slide = Presentation("tests/testinputs…
-
Python == 3.7
python-pptx==0.6.21
I try to create a simple bullet list in an existing presentation template on an existing slide.
by Following the exemple on the [read the doc page](https://pytho…
FPRM updated
8 months ago
-
关于支持导入json 格式的文件:
我写了一个可以解析成项目文件type.ts定义的数据结构的json文件,基于python实现。你可以把支持导入json文件的入口加上吗
注意:
pptx文件中的图片可能会以base64的方式导入,比如:
```html
```
pptx文件中的复杂以及自定义的图形(shape),会以svg+xml的方式,以图片的形式展现, 比…
-
Hi, my code was working. However, since trying a various versions of Python, it is no giving me this error (I have done a fresh install and still doesn't work):
LogPython: Error: Traceback (most re…
-
Hello!
I have the following code:
```
from pptx import Presentation
from pptx.enum.shapes import MSO_SHAPE_TYPE
prs = Presentation("mcve.pptx")
for slide in prs.slides:
for sha…