.py to .html generation

Laura Creighton lac at openend.se
Thu Sep 3 09:22:27 CEST 2015


In a message of Wed, 02 Sep 2015 22:04:03 -0700, uday3prakash at gmail.com writes:
>Hi friends!
>
>Can some one help me with the best module and/or its tutorial, to generate html reports for python scripts?
>
>I tried pyreport and sphc; but, i am getting errors. 
>-- 
>https://mail.python.org/mailman/listinfo/python-list

Whenever I want to generate html, I use sphinx.
http://sphinx-doc.org/

It has great documentation.
http://sphinx-doc.org/contents.html

There is a mini-tutorial in there.
http://sphinx-doc.org/tutorial.html

There is also a report generator implemented as an extension to sphinx.
https://github.com/AndreasHeger/CGATReport
Interfaces nicely with ipython.  Makes it easy to stick matplotlib
graphs into your report.

HTH,
Laura


More information about the Python-list mailing list