support all versions of python including 3

make print statements look like function calls