python

Back Open Paginator
04.10.2025 08:01
treyhunner (@treyhunner@mastodon.social)

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 👉 trey.io/aeo9fg




Show Original Post


04.10.2025 08:00
pyconafrica (@pyconafrica@mastodon.social)

🌍 Thrilled to have the Django Events Foundation North America (DEFNA) on board as a sponsor of !

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: za.pycon.org/tickets





Show Original Post


04.10.2025 08:00
pyconza (@pyconza@fosstodon.org)

🌍 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





Show Original Post


04.10.2025 07:52
diazona (@diazona@techhub.social)

@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)

#Python




Show Original Post


04.10.2025 07:25
notes (@notes@calckey.club)

🌊 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




Show Original Post


04.10.2025 07:14
maphew (@maphew@vmst.io)

I made a #python thing I'm calling 'uvs' -
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. 😉




Show Original Post


04.10.2025 05:18
amnarizvi (@amnarizvi@mastodon.social)

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!   textbooks.dad/product/tidy-fin
textbooks.dad/product/tidy-fin





Show Original Post


04.10.2025 04:53
curiouslearner (@curiouslearner@mastodon.social)

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.

til.sanyamkhurana.com/#/topics




Show Original Post


04.10.2025 03:53
villares (@villares@pynews.com.br)

Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding





Show Original Post


04.10.2025 03:20
ycombinator (@ycombinator@rss-mstdn.studiofreesia.com)

Binary Formats Gallery
formats.kaitai.io/
#ycombinator #kaitai #struct #binary #format #parsing #decoding #java #javascript #python #ruby #library #metadata




Show Original Post


04.10.2025 03:17
clonbg (@clonbg@masto.es)

Mi primer CRUD con Python myblog.clonbg.es/mi-primer-cru #Programación #Python #PyQT clonbg.es





Show Original Post


04.10.2025 03:00
webology (@webology@mastodon.social)

🐍 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.

discuss.python.org/t/pep-810-e




Show Original Post


1 ...1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 ...1558
UP