About 203,000 results
Open links in new tab
  1. What is a correct MIME type for .docx, .pptx, etc.?

    What MIME type should I use for new .docx documents? Also, for pptx and xlsx documents? excel ms-word ms-office powerpoint mime-types edited Feb 11, 2021 at 20:43 Peter Mortensen …

  2. How to use python-docx to replace text in a Word document and …

    The current version of python-docx does not have a search() function or a replace() function. These are requested fairly frequently, but an implementation for the general case is quite tricky …

  3. How to extract text from an existing docx file using python-docx

    Aug 10, 2014 · docx is basically is a zip file with several folders and files within it. In the link below you can find a simple function to extract the text from docx file, without the need to rely on …

  4. How do I extract data from a doc/docx file using Python

    Reading up on python-docx did not help, as it only seems to allow one to write into word documents, rather than read. To present my task exactly (or how i chose to approach my …

  5. How do I render a Word document (.doc, .docx) in the browser …

    Jan 15, 2015 · Note: If you are looking for the best way to convert a doc/docx file on the client side, then probably the answer is don't do it. If you really need to do it then do it server-side, …

  6. How to create word docs programmatically from a template

    Me? I would create a docx containing data bound content controls in Word, and save it. Then, in would inject my data into it as a custom xml part, and save it. (This step you could do using the …

  7. multiple .doc to .docx file conversion using python

    Jul 20, 2016 · I want to convert all the .doc files from a particular folder to .docx file. I tried using the following code, import subprocess import os for filename in os.listdir(os.getcwd()): if filename.

  8. Read .doc file with python - Stack Overflow

    Mar 15, 2016 · I got a test for job application, my deal is read some .doc files. Does anyone know a library to do this? I had started with a raw python code: f = open ('test.doc', 'r') f.read () but …

  9. How to extract metadata from docx file using Python?

    Apr 16, 2020 · How would I extract metadata (e.g. FileSize, FileModifyDate, FileAccessDate) from a docx file?

  10. ms office - How can doc/docx files be converted to markdown or ...

    May 5, 2013 · For docx, use Writeage. Maintaining Superior Fonts If you wish to preserve unicode characters, emojis and maintain superior fonts, you'll get some milage from the editors below …