SyntaxError: keyword can't be an expression

You have keyword arguments with spaces in them. That isn’t legal Python. Variables and parameter names may not have spaces.

3 Likes