---
title: "Load And Save To Disk in Python"
---


## Aspose.Words - Load And Save To Disk

To load a word Document using Aspose.Words for Java in Python, simply create Document Object by providing it a document name with full path.
To save a word Document using Aspose.Words for Java in Python, simply invoke save method of Document object.

**Python Code**

{{< highlight csharp >}}

## The path to the documents directory.

dataDir = ""
\# Load the document from the absolute path on disk.
Document = jpype.jClass("com.aspose.words.Document")
doc = new Document(dataDir + "Document.doc")
\# Save the document as DOCX document.")
doc.save(dataDir + "Document Out.docx")
{{< /highlight >}}

## Download Running Code

Download **Load And Save To Disk (Aspose.Words)** from any of the below mentioned social coding sites:

- [GitHub](https://github.com/aspose-words/Aspose.Words-for-Java/blob/master/Plugins/Aspose_Words_Java_for_Python/tests/quickstart/loadandsavetodisk/LoadAndSaveToDisk.py)
