so in my own opinion, pyflakes E syntax error actually mean syntax error; you just have to check your code again. I checked it and it still gives me the same response. This is basically C++ syntax, but self is used instead of this and %extend HelloWorld is a SWIG directive Make extension module: swig -python -c++ -I.. hw.i # compile HelloWorld.cpp HelloWorld2.cpp hw_wrap.cxx # link HelloWorld.o HelloWorld2.o hw_wrap.o to _hw.so. invalid syntax What is unexpected indent in Python? elif means else if. in my code "invalid syntax F507 % format mismatch of placeholder and argument count. invalid syntax pyflakes e meaning Code Example geopoint_low_precision Geographic Coordinate has Low Precision. what is pyflakes e invalid syntax Wo ist da der Fehler? Sıralanma Şekli. What is unexpected indent in Python I was wondering why this code was wrong. Adding to @Alan's response. Member ccordoba12 commented on Aug 9, 2021 what is pyflakes e invalid syntax - koresinvestments.com