Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6204:e77f6d00cfb9
Fix display formatting.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 23 Jun 2020 14:02:50 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
