Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 8249:d317a41dfcf3
test: make probe_ports a class method under python2.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 01 Jan 2025 00:27:52 -0500 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
