Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7403:770fffae8167
Fix random_ import to use from import rather than import as
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 25 May 2023 09:38:39 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
