Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save python-consulting/038e0f38b365862c5696abee89ec66fd to your computer and use it in GitHub Desktop.
Save python-consulting/038e0f38b365862c5696abee89ec66fd to your computer and use it in GitHub Desktop.
Jinja2 basic use
>>> from jinja2 import Template
>>> template = Template('Hello {{ name }}!')
>>> template.render(name='John Doe')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment