[b]"Getting a syntax error in Python - what's the most common fix?"[/b] or [b]"Why am I getting a syntax error in

20 Replies, 1074 Views

OMG, I once had a syntax error python because I had a random Unicode character in my code (thanks, copy-paste). Maybe check for invisible weirdness?

Also, try the `-tt` flag when running Python—it yells at you about inconsistent tabs/spaces.



Users browsing this thread: 1 Guest(s)