---
Product: html
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/html/python/console
---

# Console

## Overview

`Console` is a class in Aspose.HTML FOSS for Python.

This class declares 6 methods for Console objects in Python programs.
Available methods include: `__init__`, `debug`, `error`, `info`, `log`, `warn`.
Public members are accessible to any Python application after installing the Aspose.HTML FOSS for Python package.

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__()` | Calls __init__ on this Console instance. |
| `log()` | Calls log on this Console instance. |
| `info()` | Calls info on this Console instance. |
| `warn()` | Calls warn on this Console instance. |
| `error()` | Calls error on this Console instance. |
| `debug()` | Calls debug on this Console instance. |

## See Also

- [Aspose.HTML for Python — Enterprise API Reference](https://reference.aspose.com/html/python-net/)