Created
December 6, 2019 22:19
-
-
Save mcint/3de07d8a2bebd6111c4eae0b632a5383 to your computer and use it in GitHub Desktop.
Jinja template testing one-liner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip3 install fluentpy jinja2 | |
python3 -m fluentpy '_.lib.jinja2.Template("""asdf\n{% if "qwer" in lst %}rewq{% endif %}\nfdsa""").render({"lst":["qwer"]}).print()' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment