As a Python beginner, I find it challenging to design programs with object-oriented GUI frameworks.

This discussion is a good starting point for structuring such code. Although it focuses on Tkinter, the ideas and advice are general enough to be helpful with other frameworks.

stackoverflow.com/questions/17

The documentation build of my Python project broke and I had no idea why.

It turned out a toolchain update made the build fail. I use Jupyter Book and publish the documentation to Read The Docs, which uses the Sphinx backend.

journal.paoloamoroso.com/updat

My Free Python Books GitHub project, a simple list of Python books free to read or download, got 3.5K stars, almost 450 forks, and about 150 watches.

Which is mind blowing and humbling, yet there's something that resonates with many Python developers and enthusiasts. My deepest thanks to all.

github.com/pamoroso/free-pytho

"Python 3 Object-Oriented Programming" by Dusty Phillips stands out among Python books.

Not only it covers the relevant language features, but also object-oriented design. I like the book because it provides the big picture of using object-oriented features to design Python systems.

packtpub.com/product/python-3-

I was familiar with the PLY yacc-like parser generator in Python but not with TatSu.

TatSu uses a PEG parser instead of LALR(1) and is interesting for its design decisions, such as separating semantic actions from grammars and using the Python regex module as a lexer.

github.com/neogeny/TatSu

A great review and comparison of the major Python gaming frameworks, and a few lesser known ones. For each it provides installation instructions, discusses basic concepts, and presents sample game code.

realpython.com/top-python-game

I always wanted to publish Python documentation with Sphinx but reStructuredText felt more verbose and obscure than Markdown. A toolchain based on Jupyter Book gave me the best of both worlds.

Here's my experience with publishing the documentation of a Python project to Read The Docs with Jupyter Book.

blog.paoloamoroso.com/2022/01/

The IntelHex Python library supports creating, reading, writing, and manipulating files in Intel HEX format.

It may come in handy if I extend the Suite8080 assembler to save executables in HEX format. Suite8080 is a suite of Intel 8080 Assembly cross-development tools I'm writing in Python.

github.com/python-intelhex/int

When I published my first Python package to PyPI, I bumped into a few subtleties I hadn't seen documented:

- relative URLs don’t work
- Test PyPI doesn’t purge packages
- indexing a new package takes 24 hours
- it's okay to delete Twine’s working folders

Here is my experience with these issues.

blog.paoloamoroso.com/2021/09/

Unlike other Pillow tutorials, this article covers a greater breadth of topics such as image manipulation with NumPy:

realpython.com/image-processin

Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!