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

Can't execute test script? #4

Open
Nodi-Rubrum opened this issue Aug 25, 2020 · 1 comment
Open

Can't execute test script? #4

Nodi-Rubrum opened this issue Aug 25, 2020 · 1 comment

Comments

@Nodi-Rubrum
Copy link

Can't execute the test script?

:~/RTC_SDL_DS3231# python testSDL_DS3231.py
File "testSDL_DS3231.py", line 20
print ""
^
SyntaxError: invalid syntax

What version of python did you develop this code on?

@thewh1teagle
Copy link

@Nodi-Rubrum
That's because you try to run it as it's code for python3 but actually it's written in python2.

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

2 participants