En

Compare Two Word Documents in Python

Comparison of Word documents is performed in various cases to identify the differences. Various online tools allow you to compare Word documents, however, you may need to implement the comparison feature from within your applications. To achieve it, this article shows how to compare two Word documents in Python.
November 11, 2021 · 3 min · Usman Aziz

Convert RTF Documents to PDF using Python

RTF format was introduced by Microsoft to create rich text documents. The interoperability offered by RTF format allows you to exchange the content between different Microsoft products. Alongside, PDF is one of the most widely used document formats that provides cross-platform support. In certain cases, you may need to convert the RTF document to PDF programmatically. To achieve that, this article covers how to convert an RTF document to PDF using Python.
November 10, 2021 · 2 min · Usman Aziz

Find and Replace Text in Word Documents using Python

Quite often, you need to replace a particular text or phrase in the Word documents. MS Word has a built-in feature for such cases and you can replace the desired text with one click. In this article, you will learn how to programmatically find and replace text in Word documents using Python. This could be useful when you need to replace text in a bunch of documents. Also, you can embed this feature in your Python applications to censor the Word documents before sharing.
November 9, 2021 · 3 min · Usman Aziz

Convert Word Documents to TIFF using Python

TIFF is a popular format to store raster images. Unlike other image formats, TIFF supports multiple pages. It means, a multipage TIFF file can have more than one images in the form of pages. This feature makes TIFF a suitable option to render the Word documents. To perform this conversion programmatically, this article covers how to convert Word DOCX or DOC files to TIFF using Python.
November 8, 2021 · 2 min · Usman Aziz

Convert Word Documents to Markdown using Python

Markdown (MD is a popular format that is used to write articles, blogs, documentation, etc. However, sometimes it becomes difficult to remember and write the Markdown syntax. In such cases, you can simply write content in a Word document and convert it to Markdown. To automate Word to Markdown conversion, this article covers how to convert Word (.docx or .doc) documents to Markdown (.md) files using Python.
November 5, 2021 · 2 min · Usman Aziz

Convert Word Documents to PNG, JPEG, or BMP in Python

The conversion of MS Word files to image formats lets you embed the document’s pages into your web or desktop applications. In order to perform this conversion from within the Python applications, this article covers how to convert Word DOCX or DOC files to PNG, JPEG, or BMP images using Python. Moreover, you will learn how to control the Word to image conversion using different options.
November 4, 2021 · 3 min · Usman Aziz

Extract Images from Word Documents in Java

Images are commonly used to represent important information in Word documents. The inclusion of images alongside text makes the content more appealing. In certain cases, you may need to extract the images embedded within the Word documents programmatically. To achieve that, this article covers how to extract images from Word documents using Java.
November 2, 2021 · 2 min · Usman Aziz

Convert TXT Files to PDF in C#

Notepad provides the easiest and quickest way to write down the important points and or create notes. Furthermore, various applications generate useful information in the form of TXT files. Since TXT files do not support advanced features, such as annotations, etc., you may need to convert them to PDF format. To perform this conversion from within .NET applications, this article covers how to convert TXT files to PDF format using C#.
November 2, 2021 · 2 min · Usman Aziz

Convert Word Document to HTML using Python

Word to HTML conversion is required in various cases, such as for embedding the content on the web pages. In this article, you will learn how to convert MS Word DOCX or DOC documents to HTML using Python. Moreover, you will learn how to control the conversion of Word to HTML dynamically using different options.
November 1, 2021 · 3 min · Usman Aziz

Convert TXT Files to PDF in Java

Notepad is the easiest tool to write down the important points and create quick notes in a TXT file. Since TXT files do not support advanced features, such as comments, etc., they are converted to PDF format. To perform this conversion programmatically, this article covers how to convert TXT files to PDF format using Java.
November 1, 2021 · 2 min · Usman Aziz