python

Back Open Paginator
08.08.2025 09:40
bterwijn (@bterwijn@fosstodon.org)

SOLUTION: raw.githubusercontent.com/bter
explanation: github.com/bterwijn/memory_gra

#Python #memory_graph #Mutable #MutableData





Show Original Post


08.08.2025 09:33
PyConUK (@PyConUK@fosstodon.org)

🚀 Huge thanks to the @ThePSF for their generous support of PyCon UK 2025! 🚀

Your backing is central to helping us create a welcoming, community-focused event for all the Pythonistas who are joining us this year 💙🐍

🌐 Learn more about the PSF: python.org/psf-landing/

🐍 PyCon UK 2025 Sponsors page: 2025.pyconuk.org/sponsors/

#Python #TechCommunity #Sponsors #PyConUK2025 #PythonProgramming #PythonSoftwareFoundation #PSF




Show Original Post


08.08.2025 09:33
simondueckert (@simondueckert@colearn.social)

Freitag ist #lernOS Tag. Da ich aktuell die lernOS Produktionskette in abgewandelter Form viel für KI-basierte Dokumentationen verwende, denke ich heute mal darüber nach, die auf #Python umzustellen. Wer mag, kann gerne "mithirnen": community.cogneon.de/t/lernos-




Show Original Post


08.08.2025 09:05
lcheylus (@lcheylus@bsd.network)

A very complete Article about Bitwise Operators in Python - by Bartosz Zaczyński #Python #Programming realpython.com/python-bitwise-




Show Original Post


08.08.2025 07:51
waeiski (@waeiski@vis.social)

I have been exploring writing #Python in the somewhat new #PositronIDE from the #RStudio developers, and it seems like it could overtake my beloved #SpyderIDE as a daily driver.

It has an integrated IPython console working out of the box, which has been a massive pain to get working properly on other #VSCode derivatives. Furthermore, RStudio and Spyder have a similar layout, so I do find this Positron layout with its plots and variables panels quite familiar and intuitive.




Show Original Post


08.08.2025 05:29
notes (@notes@ap.sadboi.xyz)

it's been a few years since I've gotten goofy with the Steam API... also yeah, I finally got a rank in RoA2, there she is

the idea is that this'll list some other stats too and it'll auto-update the same note daily and that'll just be be pinned on my profile. at least one other thing I plan to add is my casual matchmaking rank in TF2, but I don't remember how the wack TF2 specific api works, so that's a later thing.

#python #steamapi #rivalsofaether2 #rivalsofaetherii





Show Original Post


08.08.2025 03:18
GripNews (@GripNews@mastodon.social)

🌘 以抽象語法樹 (AST) 為基礎的 Python 測試新方法
➤ 結合 AST 分析與 AI 策略性提示,打造高覆蓋率、高可靠性的自動化測試
jazzberry.ai/blog/ast-driven-p
本文介紹一款名為 Python Testing MCP Server 的開源工具,它結合了傳統程式碼分析的嚴謹性與現代 AI 的創造力,以解決現有 AI 測試工具的不足。該工具透過深度解析 Python 程式碼的抽象語法樹 (AST),精準識別出所有邏輯分支,並據此生成具體的測試情境。接著,它利用 BAML (Boundary ML) 框架,以結構化、高效率的方式提示 AI 模型(如 Google Gemini),要求其產出符合特定情境的單元測試案例。最終,透過執行產生的測試並利用 coverage.py 進行驗證,確保了測試的完整性和準確性。
+ 這真是個創新的方法!終於有工具能讓 AI 不只是「猜」測試,而是「知道」該測什麼。
+ BAML 聽起來是個關鍵的技術,能讓 A




Show Original Post


08.08.2025 03:11
villares (@villares@pynews.com.br)

Playing with an old sketch idea (also present in the Processing Video library examples) ... Frame to glyph grid. I'm using py5, #OpenCV & #NumPy 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


08.08.2025 02:37
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

AST-Driven Python Testing

jazzberry.ai/blog/ast-driven-p




Show Original Post


08.08.2025 02:20
diazona (@diazona@techhub.social)

@rambler_atx interesting question... I could see it meaning either of:

- 3.14 with no patch version specified (which, depending on context, could mean the latest 3.14.X, or reader's choice of any 3.14.X, or the set of all 3.14.X, or perhaps something else)
- 3.14.1 specifically

I definitely see the case for 3.14.2 but I guess it just doesn't feel pi-y enough to me 😛

#Python




Show Original Post


08.08.2025 02:01
rye (@rye@ioc.exchange)

Hi Friends who write creative code, I'm looking to follow you! :)

#creativecoding #python #creativity




Show Original Post


08.08.2025 02:00
feed (@feed@feedsin.space)
PEP 802: Display Syntax for the Empty Set

We propose a new notation, {/}, to construct and represent the empty set. This is modelled after the corresponding mathematical symbol ‘\emptyset’.

#python




Show Original Post


1 ...1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 ...1546
UP