Installation

Contents
[ ]

Make sure your machine meets the system requirements before you begin.

This article explains how to install Aspose.Words for Python via .NET on your computer.

pip is the easiest way to download and install Aspose.Words for Python via .NET APIs. To do this run the following command:

pip install aspose-words

Once the module is installed, you can use it fom your Python code:

# Import Aspose.Words for Python via .NET module
import aspose.words as aw

# Create and save a simple document
doc = aw.Document()
builder = aw.DocumentBuilder(doc)
builder.writeln("Hello Aspose.Words for Python via .NET")

doc.save("C:\\Temp\\out.docx")