Print function is quite tricky when it comes to PY2,3. Notice that print in Python3 expects unicode while in Python2 expects a utf-8 encoded string. I added _print to fix the issue.