Generating static html from markdown in python

Note to self, for future reference.

Generating static html:

import markdown2
file('classification.html','w').write( markdown2.markdown_path('classification.md', extras=["code-friendly"]) )