DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
jinja 2 iterate over dictionary
s
=
"
{
%
for
key
,
value
in
dict_item
.
items
(
)
%
}
Key
:
{
{
key
}
}
Value
:
{
{
value
}
}
{
%
endfor
%
}
"
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#jinja
#iterate
#dictionary
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit