Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7583:4cfaddc2d53e
test: do not run jinja2 demo test if jinja2 missing.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 24 Jul 2023 18:05:48 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
