Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6639:9f3fe52b7a2e
3.10.4 is supposed to be available as newest 3.10 release.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 21 Apr 2022 17:35:55 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
