Sha256: 0d86edd5300fe5f19a2e804cbffa0aaa10ebdce9cfc5dd4d442c30fce40e308a

Contents?: true

Size: 217 Bytes

Versions: 10

Compression:

Stored size: 217 Bytes

Contents

from jinja2 import Template
print(Template("Hello World!").render())

A bit more convoluted, really using a template:

from jinja2 import Template
print(Template("Hello {{ something }}!").render(something="World"))

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
zettacode-0.1.7 files.zettacode/hello_world.text/jinja.txt
zettacode-0.1.6 files.zettacode/hello_world.text/jinja.txt
zettacode-0.1.6 files.zettacode2/hello_world.text/jinja.txt
zettacode-0.1.5 files.zettacode/hello_world.text/jinja.txt
zettacode-0.1.5 files.zettacode2/hello_world.text/jinja.txt
zettacode-0.1.4 files.zettacode/hello_world.text/jinja.txt
zettacode-0.1.4 files.zettacode2/hello_world.text/jinja.txt
zettacode-0.1.3 files.zettacode/hello_world.text/jinja.txt
zettacode-0.1.2 files.zettacode/hello_world.text/jinja.txt
zettacode-0.1.1 zettacode.files/hello_world.text/jinja.txt