You forgot a colon after (self). As usual try to read the error message, as it clearly says that there is a problem with the syntax. And don’t immediately assume that there is a problem with your tool.
2
solved Simple Python Code is not running [closed]