adapt runant.py to Python3

closes #96, thanks to @twogee
2 files changed