python

Back Open Paginator
10.09.2025 13:41
chrysn (@chrysn@chaos.social)

I'm fixing #aiocoap's memory leak tests to finally run as async functions: the original tests employed mechanisms from the age of tulip (back when asyncio was developed out-of-tree), and Python 3.14 dropping some obsolete mechanisms.

Good riddance, but also tough work fixing subtle possible leaks that are suddenly easier to discover.

#Python #CoAP




Show Original Post


10.09.2025 13:15
itnewsbot (@itnewsbot@schleuss.online)

How to make graphical Python apps the EasyGUI way - Amidst a forest of GUI framework choices, EasyGUI takes its... - tomshardware.com/software/pyth #programming #software #python




Show Original Post


10.09.2025 12:59
lachlan (@lachlan@mastodon.social)

So, I wanted to have a write function (so I could change fields of cards without a text editor). Which, after getting the physical order/casing on the fields, I thought 'well, that just seems like a special format of outputting the card with scard'. Well, I'll probably want a template for that.
Well, I could use Jinja.
Hey - I could use that for sboard as well.
Anyway, guess I'm rewriting all of the output code, and some of the config, for ScrumMD.




Show Original Post


10.09.2025 12:26
bterwijn (@bterwijn@fosstodon.org)

Recursion gets easier when you can see that every function call has its own variables on the call stack. In this live demo we recursively convert an integer from decimal to binary representation: memory-graph.com/#codeurl=http

#Python #Programming #memory_graph #recursion





Show Original Post


10.09.2025 12:09
minus (@minus@nanao.cybtex.fr)

🛠 Yaralyzer v1.0.8 développé par Michel de Cryptadamus #tools #analysis #python #software #forensics [ michelcrypt4d4mus.github.io/ya ] #informatique




Show Original Post


10.09.2025 11:26
jmb (@jmb@mastodon.me.uk)

Playing with creating a script to create printable name label sheets automatically from a csv export of bookings (annoyingly the booking site API doesn’t expose attendee lists and the web login has a recaptcha so I can’t automate grabbing the csv).

github.com/erikvw/pylabels2 is excellent but can’t add images to each label at the moment. Trying to understand the underlying #reportlab docs to see if it’s at all possible.

#python #automation




Show Original Post


10.09.2025 11:07
timothy (@timothy@plushies.social)

Gina is fighting her vertigo again so today I'm helping her at work a bit more than usual! A good thing I've visited some #Python conferences this year 😁 Though this code looks a bit weird, I don't think it's Python... 🤔





Show Original Post


10.09.2025 10:52
habr (@habr@zhub.link)

[Перевод] Неудачные эксперименты с Vibe Coding на Python

Команда Python for Devs подготовила перевод статьи Элa Свейгарта о неудачных экспериментах с vibe coding. Все говорят, что ИИ уже умеет писать приложения, но стоит чуть отклониться от привычных сценариев — и всё идёт наперекосяк. Картофельная Африка вместо карты, пинбол, превращающийся в пинг-понг, и счёты с отрицательными числами — автор собрал коллекцию своих провалов с vibe coding.

habr.com/ru/articles/944698/

#vibe_coding #LLM #генеративный_ИИ #Python #эксперименты #ошибки_ИИ #ограничения_AI




Show Original Post


10.09.2025 10:32
tero (@tero@masto.ai)

Because it’s just a small hobby project, I can do whatever and YOLO things. So, my pre-commit hooks are now running with prek, and they use just ruff and ty. Because why not.

…the side effect was that instead of having different rules to run different commands, I can just run everything at once – linting, type-checking, and formatting the whole (admittedly, very small) code base takes less than 150 ms.

#python #dev




Show Original Post


10.09.2025 10:30
PyConUK (@PyConUK@fosstodon.org)

⭐️ Workshop spotlight! ⭐️

🛠️ 💻 WORKSHOP: Memray 101: Demystifying memory profiling in Python by Jesse Carnaxide

💡 More info: pretalx.com/pyconuk-2025/talk/

🎟️ Grab your ticket! 2025.pyconuk.org/tickets/

#PyConUK2025 #Python





Show Original Post


10.09.2025 09:49
pyconfi (@pyconfi@fosstodon.org)

🇫🇮 PyCon Finland speaker spotlight!

🎤 Epic Evolution of Typing in Python: How We Get Here and Where Are We Going? by @cheukting_ho

📅 Friday 17 October 2025, 16:00, Jyväskylä, Finland

🎟 Get your ticket now! fi.pycon.org

#Python #PyCon #Finland #PyConFI





Show Original Post


10.09.2025 09:36
pythonrennes (@pythonrennes@social.breizhcamp.org)

la bibliothèque de dataframe #Python #pandas évolue des fonctionnalités inspiration de #polars : l'apparition d'une API orientée "expression" pour créer et manipuler les données par colonne, qui facilite le chaînage des traitements, évite l'utilisation de lambdas au comportement parfois surprenant (pour ne pas dire bugogène).
labs.quansight.org/blog/pandas




Show Original Post


1 ...1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 ...1551
UP