List comprehensions create a new list, and since we've embedded a comprehension within a comprehension, this code creates a list-of-lists
Read more 👉 https://trey.io/aeo9fg
🌍 Thrilled to have the Django Events Foundation North America (DEFNA) on board as a sponsor of #PyConAfrica2025!
Since 2015, DEFNA has been championing the growth of the Django community—organizing DjangoCon US and supporting education and outreach across North America. Now, they’re extending that spirit of community to Africa. 🐍✨
🎟️ Be part of it: https://za.pycon.org/tickets
#PyConAfrica #Django #DEFNA #Python

🌍 Thrilled to have the Django Events Foundation North America ( @defnado) on board as a sponsor of #PyConAfrica2025!
DEFNA has been growing the Django community since 2015—and now they’re bringing that spirit to Africa. 🐍
#PyConAfrica #Django #DEFNA #Python

@maphew Interesting, but I kind of wonder what the point is when you can just use uv run? (or of course pip-run or pipx run or any of the various equivalents)
🌊 PyBeach 2025 is making waves! 🌴🐍
All the talks are now live on YouTube, catch the community vibes, brilliant Python insights, and maybe a little sand in your shoes 😉
🎥 Dive in here: https://www.youtube.com/playlist?list=PLwdA5WU2fAAvCIOjgnYDA7NrGJ8iFh97t
🌐 More about the event: https://2025.pybeach.org
#PyBeach2025 #Python #Community
I made a #python thing I'm calling 'uvs' -
https://github.com/maphew/uvs
It enables using #uv to install single-file scripts in PATH as a tool.
It works against my single-file scripts so far, so that itch is scratched. Until it all blows up in my face anyway. But this paint-the-kitchen weekend, so I have at least 2 days before that happens. 😉
Explore empirical finance with Python! "Tidy Finance with Python" by [Author Name] guides you from tidy data basics to machine learning for asset pricing. Perfect for researchers & students. ISBN: 978-1040048719. Get the eBook now! #Finance #Python #DataScience https://textbooks.dad/product/tidy-finance-with-python-ebook/
https://textbooks.dad/product/tidy-finance-with-python-ebook/?fsp_sid=1162

#TIL Random ordering in Django. order_by('?') works but can be costly on large tables. Prefer order_by(Random()) (Django’s DB function) + LIMIT.
Notes + pitfalls inside. #Django #Python #ORM #PostgreSQL #Perf
https://til.sanyamkhurana.com/#/topics/django/random-ordering-with-order-by-in-django
Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_10_03
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding

Binary Formats Gallery
https://formats.kaitai.io/
#ycombinator #kaitai #struct #binary #format #parsing #decoding #java #javascript #python #ruby #library #metadata
Mi primer CRUD con Python https://myblog.clonbg.es/mi-primer-crud-con-python/ #Programación #Python #PyQT https://clonbg.es

🐍 PEP 810: Explicit lazy imports is out and it looks pretty cool.
I'm all for the feature, but I don't love the "lazy import ..." and "lazy from" sync, but I don't love "async def" or "raise from" and that's fine.
Overall, it feels like a win to me.
https://discuss.python.org/t/pep-810-explicit-lazy-imports/104131