Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6056:b5bb7e6cee5e
Add using bandit and flake8 to lint code and cleanup.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 15 Jan 2020 21:04:17 -0500 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
