SOLUTION: https://raw.githubusercontent.com/bterwijn/memory_graph_videos/refs/heads/main/exercises/exercise7.gif
explanation: https://github.com/bterwijn/memory_graph
#Python #memory_graph #Mutable #MutableData

🚀 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: https://www.python.org/psf-landing/
🐍 PyCon UK 2025 Sponsors page: https://2025.pyconuk.org/sponsors/
#Python #TechCommunity #Sponsors #PyConUK2025 #PythonProgramming #PythonSoftwareFoundation #PSF
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": https://community.cogneon.de/t/lernos-produktionskette-auf-python-umstellen/4229
A very complete Article about Bitwise Operators in Python - by Bartosz Zaczyński #Python #Programming https://realpython.com/python-bitwise-operators/
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.
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

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

AST-Driven Python Testing
https://jazzberry.ai/blog/ast-driven-python-testing
@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 😛
Hi Friends who write creative code, I'm looking to follow you! :)
#creativecoding #python #creativity
We propose a new notation, {/}, to construct and represent the empty set. This is modelled after the corresponding mathematical symbol ‘\emptyset’.