Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6262:ba82fb74f806
Update psycopg link to: https://www.psycopg.org/
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 08 Sep 2020 23:30:21 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
