table.py: bug fix regarding print builtin

now this will only work in python3