PythonHub
2.43K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
You Don’t Need __all__

Every now and then, I get a PR from a well-meaning contributor trying to add all to a Python module for whatever reason. I always decline these, they are unnecessary (at least for the way I structure my code) and I thought I’d write a short post explaining why.

https://jamesturk.net/posts/you-dont-need-all/
Sweep

Sweep is an AI junior dev that transforms bug reports & feature requests into code changes. Simply describe any issue and Sweep will do the rest. It will plan out what needs to be done, what changes to make, and write the changes to a PR.

https://github.com/sweepai/sweep
Mastering Python Context Managers

A Comprehensive Guide to Effective Resource Management.

https://andrewodendaal.com/mastering-python-context-managers-a-comprehensive-guide-to-effective-resource-management/