Search code examples
python-3.xpython-docxpython-pptx

How can I add a custom arrow using python docx or python pptx


I need to add arrows like this on my document or powerpoint. How can I do this? Do you recommend an image or is there a way to add custom arrows?

enter image description here


Solution

  • One approach might be to find characters that look like that.

    For example, this search was helpful: https://www.fileformat.info/info/unicode/block/geometric_shapes/list.htm

    Edit: I just tried pasting U+25BC from that page into a new Powerpoint slide (in the title field) and got a down arrow (▼). I'm pretty confident that can be made to work in python-pptx.