Packaging An Sqlite db-included CRUD PyQt5 app using PyInstaller

Packaging An Sqlite db-included CRUD PyQt5 app using PyInstaller

The Python programmer’s journey inevitably leads him to one of the black belts of the industry: packaging and distribution. But, particularly in Python, distribution can also be a black beast. We’ve seen slow and steady progress in the field with the advent of tools like cx_freeze, pyinstaller and protocols like zipapp. In this post we’ll… Continue Reading Packaging An Sqlite db-included CRUD PyQt5 app using PyInstaller

What’s New in Python 3.9 alpha2?

What’s New in Python 3.9 alpha2?

Python is set to release a new version next year, the shiny 3.9. This one omitted the sys.argv change rolled back in alpha2 Here’s our take of the most noticeable changes: Keyword Arguments Get Some Boost improved original Audit hooks added for sys.excepthook() and sys.unraisablehook() Audit hooks were added in PEP 578. It basically allows you to monitor… Continue Reading What’s New in Python 3.9 alpha2?

PyQt5 / PySide2 QTableView how to find out if row is selected and which one in Python?

Question: I have a QTableView in PyQT5 / PySide2 I want to Know if a row is selected (my tableview is set to select by rows) Know which row is selected Thanks Answer: A bit hackishly though:

but that does it well:

We Launched a Pyside Docs Section 🎉

We Launched a Pyside Docs Section 🎉

Hi folks, an announcement! It’s a bit sad to see that PySide Docs are actually Qt examples. The name is cut off from the scene. We’ve started a project devoted to Pyside docs at pythonmembers.club/pyside. We intend to write self-contained snippets to help people out! Mail arj dot python at gmail dot com if you… Continue Reading We Launched a Pyside Docs Section 🎉