Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7682:c9be8a3f96d9
bad update on my part. Merge Ralf's work in.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 25 Oct 2023 09:45:58 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
