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.
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.
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.
"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.
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.
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.
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.
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.
Astronomy, space, Android & Google, Python, coding, retrocomputing.
No politics, no negativity. Just passion for my geeky interests.
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!