Reverend Jim 3,918 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I discovered, after upgrading to Python 3.10, that wxPython no longer worked. Fortunately, a kind soul at wxpython.org suggested I try installing a snapshot build of wxpython via the command

pip install -U --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython

So far my existing wxPython scripts run just fine. If you are wondering why the rush to go to python 3.10, the newest version finally introduces a case clause and improvements to error messages. More details can be found here

Note that like everything else in python, the patterns allowed in match-case can be abused to make the code unreadable. A tutorial on patterns can be found here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.