Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5694:c3ffa1ef6b7f
Exclude cgi/TAL/DummyEngine.py as it looks like a test harness.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 06 Apr 2019 10:20:19 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
