Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6730:031996eb9bb5
document jinja2 as valid setting for template_engine in config.ini
Also try to import jinja2 and report unavailable/available.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 27 Jun 2022 00:33:31 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
