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 #8

Closed
jtsec92 opened this issue Nov 10, 2017 · 1 comment
Closed

SyntaxError: invalid syntax #8

jtsec92 opened this issue Nov 10, 2017 · 1 comment

Comments

@jtsec92
Copy link

jtsec92 commented Nov 10, 2017

/Projects/moviegeek/recommender/views.py", line 167
    print(f"lda loaded in {datetime.now()-start_time}")
                                                     ^

SyntaxError: invalid syntax

@kimfalk
Copy link
Contributor

kimfalk commented Dec 30, 2017

Hi,

Sorry for the late replay, having been keeping up with issues, and thank you for your comment

Could you tell me which python version you are running on. It is suppose to be legal Python 3.6 code. Have a look at the following blogpost: https://cito.github.io/blog/f-strings/

@kimfalk kimfalk closed this as completed Feb 12, 2018
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