As mentioned by @dietmarw in #1 you should run a code analysis with pylint or some other tool.
If you happen to use Spyder as your editor, this can be done (for the currently active file) by just pressing F8.
At least the errors should be fixed (or looked at), some of them are due to Py2 vs Py3, some of them are due to omniORB not being installed on my Windows machine, but some are real errors that need a fix.

As mentioned by @dietmarw in #1 you should run a code analysis with pylint or some other tool.
If you happen to use Spyder as your editor, this can be done (for the currently active file) by just pressing F8.
At least the errors should be fixed (or looked at), some of them are due to Py2 vs Py3, some of them are due to omniORB not being installed on my Windows machine, but some are real errors that need a fix.