python

Back Open Paginator
25.09.2025 13:06
kushal (@kushal@toots.dgplug.org)

I wrote some code in #python #pydantic. It works and I don't know why does it work!!




Show Original Post


25.09.2025 13:00
pyconafrica (@pyconafrica@mastodon.social)

🌟👩‍💻 Women in Tech, This Is Your Moment! 🌟
💡 Want to break into coding? Meet experts and kickstart your journey at the Free Django Girls Workshop!
📅 8 Oct | 📍 PyCon Africa, Johannesburg | 🎉 FREE 💻✨





Show Original Post


25.09.2025 13:00
pyconza (@pyconza@fosstodon.org)

🌟👩‍💻 Women in Tech, This Is Your Moment! 🌟
💡 Want to break into coding? Meet experts and kickstart your journey at the Free Django Girls Workshop!
📅 8 Oct | 📍 PyCon Africa, Johannesburg | 🎉 FREE 💻✨
#PyConAfrica #DjangoGirls #WomenInTech #Python





Show Original Post


25.09.2025 12:20
GripNews (@GripNews@mastodon.social)

🌘 TypeScript 實現 Python 風格的關鍵字參數
➤ 以物件參數模擬 Python kwargs,提升 TypeScript 函式呼叫的清晰度與易用性
xavd.id/blog/post/python-kwarg
本文探討如何在 TypeScript 中模擬 Python 的關鍵字參數(kwargs)功能,以改善具有多個可選參數之函式的程式碼可讀性和除錯體驗。作者透過使用物件作為函式參數,並結合預設值和 TypeScript 的型別定義,成功地讓 TypeScript 函式的呼叫方式更清晰、更具彈性,如同 Python 的 kwargs 一樣,使用者無需記憶參數的順序,即可明確指定要傳遞的參數名稱及其值,同時保有型別安全。
+ 這真是個好方法!我一直在尋找類似的解決方案來處理 TypeScript 中越來越長的選填參數列表。
+ 雖然聽起來很實用,但將選項鍵納入 API 的考量確實需要謹慎處理,尤其是在公開的函式庫中。




Show Original Post


25.09.2025 12:04
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

Python-Style Kwargs in TypeScript

xavd.id/blog/post/python-kwarg




Show Original Post


25.09.2025 11:23
galdor (@galdor@fosstodon.org)

Uv has definitely made my life easier in #Python, but it still does not support proper dependency overrides (temporarily using a local editable copy of a dependency). The cache gets in the way and further changes are not picked up.

#Go modules do it perfectly (the go.work file).

The Python ecosystem will continue being a nightmare until developers start looking at other languages to understand how to do it right.




Show Original Post


25.09.2025 11:05
neofreko (@neofreko@me.dm)

Managed to squeeze 5 minutes today to satisfy my curiosity on Copilot Kit and Pydantic Ai #python #nextjs . Otherwise I was pretty much glued to my chair filling in some due-process documents.




Show Original Post


25.09.2025 10:56
sharlatan (@sharlatan@mastodon.social)

And team branch been merged without conflicts.

pull --gently

Thanks Nicolas Gaves, Hugo Buddelmeijer, Jake Forster, Felix Gruber and @apteryx for contributions!




Show Original Post


25.09.2025 10:35
technologycarnival (@technologycarnival@mastodon.social)

technologiesinternetz.blogspot

How to Develop a Smart Expense Tracker with The Assistance of Python and LLMs





Show Original Post


25.09.2025 10:32
technologycarnival (@technologycarnival@mastodon.social)

technologiesinternetz.blogspot

How to Develop a Smart Expense Tracker with The Assistance of Python and LLMs





Show Original Post


25.09.2025 09:56
sumanthvepa (@sumanthvepa@mastodon.social)

I'm making the students in my class to write a small that teaches itself to play tictactoe. But the game needed a nice web UI in . So I built one last evening. For some reason I'm inordinately proud of it. sumanthvepa.github.io/python-c





Show Original Post


25.09.2025 09:49
nanders (@nanders@fosstodon.org)

I often read lots of #data in my #python scripts and once in a while my laptop runs out of memory because of it. No problem. But I wish my #linux desktop environment would just kill my python instance (sometimes it does) instead of freezing up everything which requires me to hard reset (long press power button). #fedora #gnome




Show Original Post


1 ...1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 ...1556
UP