Generating HTML/PDF directly from your console.
prynt is a module to turn your console outputs into HTML or pdf file. Just import the prynt module, and your output will be automagically generated.
Write some ReStructuredText easily with the built-in functions, draw some curves using matplotlib will automatically paste them on your output file. You will as well be able to draw some nice mathematical equations.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.