New answers tagged

4

Your code is pretty good. You have some Pythonic style problems like on_press should have two blank lines before it, mypy probably would complain about exit_singal: bool = False and un-Pythonic if (...): statements. And so I recommend that you run a linter or two on your code. Personally I don't like view.notify('Playing...') and then player.play(). ...


Top 50 recent answers are included