Any tool to convert Python source code to HTML?

Dave googlegroups at
Mon Feb 24 20:06:05 CET 2003

akineko at (Aki Niimura) wrote in message news:<b714b8de.0302231216.5cd81032 at>...
> Hello everyone,
> I thought finding such was very easy but I couldn't find any pointer 
> in the Internet. I would like to put my Python code to my Intranet.
> Instead of putting a plain text, I would like to put a HTMLized code
> (with keyword coloring, simple links to def, class, ...)
> I found so many articles, postings regarding to Python's HTML modules.
> Also, there must be a tool to create a HTML page summarizing a class
> (class name, member function, ...). But not python source code itself.
> Yes, I understand putting a whole source code is not so useful for a
> big complex program. But my program is not so big such that showing 
> the entire source code is still very helpful.
> Is there any software tool to create a HTML page from Python source code?
> Any info would be highly appreciated.
> Best regards,
> Aki Niimura

Hi Aki,

    Hope you don't mind if I wade in with my shameless plug;

    This is no relation to other "py2html"s that may have been
suggested; it's based on Xavier Defrang's string replacement recipe, .

    Easily adaptible to any other language syntax.

             Best Regards,


More information about the Python-list mailing list