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

Error main.py #1

Closed
Eliot4 opened this issue May 4, 2020 · 3 comments
Closed

Error main.py #1

Eliot4 opened this issue May 4, 2020 · 3 comments

Comments

@Eliot4
Copy link

Eliot4 commented May 4, 2020

File "main.py", line 54
logging.info(f'Completed in {time.time() - start:.2f}s')
^
SyntaxError: invalid syntax

Any ideas ?

@cyrildiagne
Copy link
Owner

Could be because of the formatted string.
Sorry forgot to mention it but, are you using Python v3.6+ ?

@Eliot4
Copy link
Author

Eliot4 commented May 4, 2020

Thank you. I used an obsolete version of python

@cyrildiagne
Copy link
Owner

Great to hear, thanks!

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