SyntaxError : Invalid syntax jedi

Question:

There is a problem showing in my vs-code editor SyntaxError: Invalid syntax jedi I don’t know why this problem showing it’s bothering me so much and there are some weird symbols on my editor ←[0m ←[m you can see this image can anyone tell how to remove both of this from vs-code editor these will be really helpful.

enter image description here

Asked By: Developer Nans

||

Answers:

Ok I figured it out I don’t know somehow my vs-code packages are disabled all I do just enabled them and the problem was gone.

Answered By: Developer Nans

VSCode shows invalid syntax jedi even when you miss () for parameters on your defined function.

Answered By: rohit roshan jena

I had a simple code that contains an if condition and it was getting to me Syntax Error: invalid syntax and the I got the parentheses exist there was wrong and the error happened just for the () in my if condition. 🙂

Answered By: neo