---
Product: Aspose.Note
Platform: python
Page Type: docs
Canonical URL: https://docs.aspose.org/note/python/getting-started/quickstart
---

# Quick Start

Get up and running with Aspose.Note FOSS for Python in minutes: load a OneNote .one file, iterate pages and rich-text nodes, and export to PDF using Document, Page, RichText, and SaveFormat.Pdf.

## Overview

This page walks through the minimum steps needed to read a OneNote `.one` file and
export it to PDF using Aspose.Note FOSS for Python.

---

### Prerequisites
| Requirement | Detail |
|-------------|--------|
| Python | 3.10 or later |
| Package | `aspose-note >= 26.3.2` |
| OS | Windows, macOS, or Linux |
| Microsoft Office | Not required |
---

### Step 1 — Install

```bash
pip install aspose-note-foss
```

---

### Step 2 — Load a OneNote File

`Document` is the root entry point. Pass a `.one` file path to load it:

```python
from aspose.note import Document

doc = Document("notebook.one")
print(f"Format : {doc.FileFormat}")
print(f"Pages  : {len(list(doc))}")
```

---

### Step 3 — Read Pages and Text

`GetChildNodes()` returns all direct descendants of a given type. Use it on `Document`
for pages, and on each `Page` for rich-text leaf nodes:

```python
from aspose.note import Document, Page, RichText

doc = Document("notebook.one")
for page in doc.GetChildNodes(Page):
    if page.Title and page.Title.TitleText:
        print(f"Page: {page.Title.TitleText}")
    for rt in page.GetChildNodes(RichText):
        text = "".join(rt)
        if text.strip():
            print(f"  {text[:120]}")
```

---

### Step 4 — Export to PDF

`Document.Save()` with `SaveFormat.Pdf` produces a PDF without any external renderer:

```python
from aspose.note import Document, SaveFormat

doc = Document("notebook.one")
doc.Save("output.pdf", SaveFormat.Pdf)
```

---

### Next Steps

- [Installation](../installation/)
- [License](../license/)
- [Features Overview](../../developer-guide/features/)
- [KB Articles](https://kb.aspose.org/note/python/)
- [API Reference](https://reference.aspose.org/note/python/)

## See Also

- [Aspose.Note — Enterprise Documentation](https://docs.aspose.com/note/)