Top "Mako" questions

Mako is a template library written in Python.

How can I connect my python script with my HTML file?

Basically I am getting some data from a webpage, and putting it into an array, I want to output the …

python html dom mako
Mako or Jinja2?

I didn't find a good comparison of jinja2 and Mako. What would you use for what tasks ? I personnaly was …

python templates template-engine mako jinja2
What is the fastest template system for Python?

Jinja2 and Mako are both apparently pretty fast. How do these compare to (the less featured but probably good enough …

python django-templates template-engine mako jinja2
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 537: ordinal not in range(128), referer: ... I always get this error when …

python python-2.7 mod-wsgi mako
Insert javascript at top of including file in Jinja 2

In Jinja2, I would like the following to work as it looks like it should, by running: from jinja2 import …

python templates mako jinja2 genshi
How do you debug Mako templates?

So far I've found it impossible to produce usable tracebacks when Mako templates aren't coded correctly. Is there any way …

python debugging templates jinja2 mako
how to deal with unicode in mako?

I constantly get this error using mako: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 6: ordinal not …

python unicode mako
how do I specify extended ascii (i.e. range(256)) in the python magic encoding specifier line?

I'm using mako templates to generate specialized config files. Some of these files contain extended ASCII chars (>127), but mako …

python templates encoding wsgi mako
Mako templates inline if statement

I have a template variable, c.is_friend, that I would like to use to determine whether or not a …

python templates mako
ImportError: no module named mako.template

This line of code in my foobar.py file: from mako.template import * results in an ImportError: No module named …

python macos mako