---
name: "pyhtmlizer"
section: "1"
platform: "linux"
package: "python-twisted-core"
version: "18.9.0-3+deb10u1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/pyhtmlizer"
---

# pyhtmlizer(1)

pretty-print Python source as HTML

## NAME

pyhtmlizer - pretty-print Python source as HTML

## SYNTAX

pyhtmlizer \[*-s\|--stylesheet* \<*url*\>\] \<*filename*\>

## DESCRIPTION

This generates a HTML document with Python source marked up with span elements.  To colorize, provide a stylesheet.

## OPTIONS

- **--stylesheet, -s** \<*url*\>

  Links to the stylesheet at \<*url*\>.

- **--help**

  Output help information and exit.

- **-v**, **--version**

  Output version information and exit.
