This issue of PyCoder's Weekly, number 691, covers a diverse range of Python topics. Adrian explores inheritance versus composition and functions with code examples. Andrew Wegner discusses logging uncaught exceptions for troubleshooting. Pganalyze offers a checklist to prevent Postgres slowdowns in Python apps. Real Python features a course on marimo notebooks and an article on debugging common Python errors with a related quiz.
The release of uv 0.8.0 and Textualize 4.0.0 are announced, alongside the finalization of PEP 590, Vectorcall. Django celebrates its 20th birthday. Articles delve into using the atexit module for cleanup, understanding iterators and iterables with a 2048 game example, and using SQLModel for cleaner database interactions. Augment Code is highlighted as an AI coding agent for Python developers.
Further tutorials cover Python's LEGB rule for scope, building an HTTP server with asyncio.Protocol, and using Asciimatics for terminal user interfaces. Vivis Dev explains truthiness with __bool__ and __len__, while Stephen Gruppetta examines the behavior of `or` and `and`. A real-time dashboard with FastAPI and WebSockets is also detailed. PyPI has prohibited inbox.ru email domain registrations due to a spam campaign. Projects include gt-extras, shapely, dowhen for code execution, complexipy for complexity calculation, and mureq-typed for HTTP requests. Upcoming events include Real Python Office Hours, PyOhio, PyDelhi User Group Meetup, and Python Sheffield.
pycoders.com
pycoders.com
Create attached notes ...
