Mercurial > ~darius > hgwebdir.cgi > pyinst
diff anritsu_ms2034a_example.py @ 56:91b476ebc0f2
Run through 2to3
author | Daniel O'Connor <doconnor@gsoft.com.au> |
---|---|
date | Tue, 08 Dec 2020 14:00:45 +1030 |
parents | 9ce709b7da4b |
children |
line wrap: on
line diff
--- a/anritsu_ms2034a_example.py Tue Dec 08 13:59:05 2020 +1030 +++ b/anritsu_ms2034a_example.py Tue Dec 08 14:00:45 2020 +1030 @@ -33,7 +33,7 @@ def test(r): # ID instrument r.write('*IDN?') - print "ID is " + r.read(5) + print("ID is " + r.read(5)) # XXX: Don't do this, on this device it resets the ethernet settings (duuuh) # Reset to defaults