bryanthowell-tableau / tableau_tools

Package containing Tableau REST API, XML modification, tabcmd and repository tools
Other
215 stars 86 forks source link

using the package with python 3.4 #7

Closed vizithiram closed 8 years ago

vizithiram commented 8 years ago

Is it compatible with python 3? I'm trying to use the TableauRestApiConnection to signin to the server. I get an error -

Traceback (most recent call last): File "program.py", line 32, in from tableau_tools.tableau_rest_api import * File "C:\Python34\lib\site-packages\tableau_toolsinit.py", line 2, in <mo dule> from tableau_base import TableauBase File "C:\Python34\Lib\site-packages\tableau_tools\tableau_base.py", line 3, in

from logger import Logger File "C:\Python34\Lib\site-packages\tableau_tools\logger.py", line 11 print u"Error: File '{}' cannot be opened to write for logging".format(filen ame) ^ SyntaxError: invalid syntax