Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6710:f2a47db667cd
Try using OS python xapian rather than building.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 21 Jun 2022 21:17:50 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
