Skip to main content

This extension saves the contents of your IDLE shell or editor window as XHTML

Project description

This extension saves the contents of your IDLE shell or editor window as XHTML (using Stylesheets to preserve all color and formatting information).

Installation

Copy IDLE2HTML.py to the idlelib folder of your python installation. Append the contents of ‘config-extensions.txt’ to your ‘config-extensions.def’ file (also in the idlelib folder) and restart IDLE.

For more information on extending IDLE read ‘config-main.def’, ‘config-extensions.def’ and ‘extend.txt’

Operation

Select ‘Save as HTML’ from the ‘Options’ menue and specify the filename in the FileDialog window. The HTML file is created immediately.

Requirements

Tested with IDLE 1.1.3, 1.2, 2.6b1 and 3.0a1

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page