Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with python 3 #15

Open
lwassink opened this issue May 27, 2016 · 2 comments
Open

Doesn't work with python 3 #15

lwassink opened this issue May 27, 2016 · 2 comments

Comments

@lwassink
Copy link

lwassink commented May 27, 2016

This isn't exactly a bug, but I thought I'd let you know anyway. When I first tried to run t, I got a python error. The problem is that I am running python 3.4, while t was written for python 2. For example, the code includes print string rather than print(string), etc.

Fortunately I also still had python 2.7 installed, so I just called it using the absolute file path in my bash alias and everything is working fine. You might just want to mention this in the install instructions.

@RichardDooling
Copy link

I had great luck just running 2to3 -w t.py

Works fine with Python 3 after that.

@stanevvv
Copy link

Hi, I would be willing to add a note to the README about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants