Colorize Python source

Category: Python - Development Tools

This script converts Python source code to HTML markup, rendering comments, keywords, operators,numeric and string literals in different colors. It shows how to use the built-in keyword, token and tokenize modules to scan Python source code and re-emit it with no changes to its original formatting (which is the hard part). Date: 23 May, 2012


Python Source - Colorize Python Source - Rendering Operators - Rendering - Operators - Python

Homepage: http://code.activestate.com

Developer: code.activestate.com

License: Artistic License, GNU General Public License (GPL)

Operating System: Windows, Linux, Mac OS, BSD, Solaris

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

K-3D is the free (as in freedom) 3d modeling, animation, and rendering system.

developer Developer: k-3d
license License: GNU General Public License (GPL)
operating systems Operating System: 32-bit MS Windows (95/98), All 32-bit MS Windows (95/98/NT/2000/XP), All BSD Platforms (FreeBSD/NetBSD/OpenBSD/Apple Mac OS X), All POSIX (Linux/BSD/UNIX-like OSes), Linux


Vavoom is Doom/Heretic/Hexen/Strife source port.

developer Developer: vavoom-engine.com
license License: GNU General Public License (GPL)
operating systems Operating System: 32-bit MS Windows (95/98), All 32-bit MS Windows (95/98/NT/2000/XP), All POSIX (Linux/BSD/UNIX-like OSes), Linux, MS-DOS


MathGuard is a PHP class that inserts a small piece of HTML code into your HTML form which requires the user to evaluate an expression consisting of two random numbers.

developer Developer: Matej Koval
license License: Freeware
operating systems Operating System: Linux, Unix, Windows


ABCDrawHTML is a simple but powerful HTML rendering library.

developer Developer: websupergoo.com
license License: Freeware
operating systems Operating System: All


Rendering Arbitrary Objects with CherryPy script shows an implementation of Rendering Arbitrary Objects with Nevow using CherryPy.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


Pango is a library for laying out and rendering of text, with an emphasis on internationalization.

developer Developer: hammurabi.acc.umu.se
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


gleem is a small, self-contained library of 3D widgets that support direct user interaction with a 3D scene.

developer Developer: alumni.media.mit.edu
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


This script uses gzip and StringIO module and is useful to the time of wanting to treat stream compressed by mod_gzip of Apache, and the data compression of transmission programs.

developer Developer: code.activestate.com
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


This utility brings ad-hoc command-line piping sensibilities to the Python interpreter.

developer Developer: code.activestate.com
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris