Search code examples
pythonmako

Mako Templating


I am new to Python and Mako and such. My question might seem dumb, I apologise in advance but I looked at the docs and could not find it.

In .py files, I can use # character to take notes. I can also use

'''
notes
notes
'''

My questions:

  • How can I do this with .mako files?
  • What is the common name for this? (taking notes, annotating..)

Solution

  • http://docs.makotemplates.org/en/latest/syntax.html#comments

    In almost all programming languges and related technical formats, this feature is called a comment.