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

SyntaxError: invalid syntax #17

Open
ndc168 opened this issue Jun 6, 2020 · 2 comments
Open

SyntaxError: invalid syntax #17

ndc168 opened this issue Jun 6, 2020 · 2 comments

Comments

@ndc168
Copy link

ndc168 commented Jun 6, 2020

Tried to run: python Stabilization.py shaky-5.avi

with the shaky-5.avi in the same src directory, and got this:
File "Stabilization.py", line 23
print method.name+' has taken: '+str(end_time-start_time)+' sec'
^
SyntaxError: invalid syntax

@naldoxable
Copy link

im following

@gyihasz
Copy link

gyihasz commented Jan 20, 2021

Put brackets around the print parameters:
Right now it's:
print a, 'b'

And it should be:
print (a, 'b')

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