Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5888:ed18adf8a006
grr.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 29 Sep 2019 22:45:46 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
