MCPcopy Index your code
hub / github.com/python-openxml/python-docx / docx_path

Function docx_path

tests/unitutil/file.py:20–24  ·  view source on GitHub ↗

Return the absolute path to test .docx file with root name `name`.

(name: str)

Source from the content-addressed store, hash-verified

18
19
20def docx_path(name: str):
21 """
22 Return the absolute path to test .docx file with root name `name`.
23 """
24 return absjoin(test_file_dir, "%s.docx" % name)
25
26
27def snippet_seq(name: str, offset: int = 0, count: int = 1024):

Calls 1

absjoinFunction · 0.70

Used in the wild real call sites across dependent graphs

searching dependent graphs…