py3: use env to select python
py3: convert print to a function