Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • So I solve that, now both of them point to the http saying invalid character in identifier. Commented Feb 8, 2016 at 12:07
  • Did you copy the code from elsewhere? If so it might have hidden webformatting bytes, try just deleting the line and recoding it from scratch. Commented Feb 8, 2016 at 12:08
  • I rewrote everything. I still get: File "brows.py", line 10 app.exec() ^ SyntaxError: invalid syntax Commented Feb 8, 2016 at 17:09
  • 1
    @Qubix. You need to use app.exec_() in pyqt, because exec is a keyword in python2. The non-ascii characters are the left/right double quotation marks (“”), which are often used in web pages rather than the standard double quotes ("). Commented Feb 8, 2016 at 18:57