python

Back Open Paginator
04.12.2025 15:59
YesJustWolf (@YesJustWolf@hachyderm.io)

Working on #AdventOfCode. My plan was to solve each day in both #Python and #RustLang. I thought I would be further by now. Yes, my Python answer to day 1 solves both parts, but I'm trying to be exemplary: good names, docstrings, comments-where-needed, tests, project structure, all the things.

For some reason, #HelixEditor keeps complaining about the #LSP (using both #Pyrefly and #Ruff, as usual). I'm concerned I haven't set things up right somehow, but I don't yet see where I've gone wrong.

Once this is working, further days will be easy. At least ... I hope!




Show Original Post


04.12.2025 15:54
qiita (@qiita@rss-mstdn.studiofreesia.com)

【3.14対応】Pythonをいろんな意味で高速化する個人的TIPS30選
qiita.com/nukipei/items/cb095d

#qiita #Python #プログラミング




Show Original Post


04.12.2025 15:53
brass75 (@brass75@twit.social)

I just completed "Printing Department" - Day 4 - Advent of Code 2025 #AdventOfCode

Write up brassnet.biz/blog/advent-of-co

Solution in #Python github.com/brass75/AdventOfCod

adventofcode.com/2025/day/4




Show Original Post


04.12.2025 15:24
e_nomem (@e_nomem@hachyderm.io)

Wait... `uv build --wheel .` honors the override configuration in `tool.uv.sources`, but `uv build --wheel dist/<mylib>.tar.gz` doesn't?

I wonder if this is specific to build-dependencies since that's what I'm overriding...

#python #uv




Show Original Post


04.12.2025 15:08
nedbat (@nedbat@hachyderm.io)

Helping people with #Python online, you see unusual things.
It's not uncommon to see strings (especially multi-line strings) used as comments.
But this is new to me: a single-line multi-line string that contains an already valid comment:

'''#######################################'''




Show Original Post


04.12.2025 14:53
riverfount (@riverfount@bolha.us)

🧑‍💻 Novo artigo: "Generators em Python: Técnicas Essenciais para Código Eficiente e Robusto"

Generators são "listas preguiçosas" que economizam memória e brilham com arquivos gigantes, sequências infinitas e pipelines. Cobri yield vs return, exceções, context managers e exemplos práticos para você aplicar hoje!

Perfeito para devs Python que querem código mais eficiente. 👇

bolha.blog/riverfount/generato

#Python #Programação #Generators #DevTips




Show Original Post


04.12.2025 14:44
niksirbi (@niksirbi@neuromatch.social)

RE: mastodon.online/@neuroinformat

I'll be coordinating the "Animals in Motion" track of this summer school, returning to London in August 2026.

Apply to join us for some hands-on learning and collaboration on open-source tools for video behavioural analysis.

neuroinformatics.dev/open-soft

#neuroscience #python #behaviour #ethology




Show Original Post


04.12.2025 14:40
ThePSF (@ThePSF@fosstodon.org)

Jazzband, a PSF Fiscal Sponsoree, ensures the long-term maintenance of #Python projects after their original authors step away 🐍💻 By supporting cooperative coding, Jazzband keeps well-tested, well-documented projects alive. Donate today 💝





Show Original Post


04.12.2025 14:32
pytexas (@pytexas@fosstodon.org)

🚨 Deadline: Dec 7 🚨

⏰ Time’s ticking — 3 days left until the #PyTexasConference2026 #CFP closes.

Your story or #Python project could inspire the community!

Submit here → pytexas.org/2026





Show Original Post


04.12.2025 14:00
gtronix (@gtronix@infosec.exchange)

"Django 6.0 brings template partials, background tasks, Content Security Policy, and more"

"Template partials are now available, allowing projects to modularize templates using small, named fragments. Django6.0 introduces several notable features aimed at improving code modularity, security, and developer workflow."

alternativeto.net/news/2025/12

#Python #Django




Show Original Post


04.12.2025 13:18
pyladiescon (@pyladiescon@fosstodon.org)

🌟 Check out Patty Trejo, our LATAM keynote at #PyLadiesCon 2025!
Her talk: “Liderazgo femenino en el mundo Tech” 🇱🇦💜
💜 Regístrate: 2025.conference.pyladies.com/e

#PyLadies #WomenInTech #LATAM #Python





Show Original Post


04.12.2025 13:12
habr (@habr@zhub.link)

Как превратить хаотичный ML-проект в систему: пошаговый гайд по DVC + GitHub Actions

Пора строить систему, которая собирается за вечер на двух инструментах: DVC и GitHub Actions . Этот пост - пошаговый гайд , как превратить хаос в полноценный CI/CD‑пайплайн. Без кубернетесов, без сложной инфраструктуры. Зато с автоматизацией, воспроизводимостью и твоим спокойствием :) Начнем ↓ ⠀⠀

habr.com/ru/articles/973268/

#ml #data_science #базы_данных #devops #машинное_обучение #dvc #github_actions #mlops #воспроизводимость #python




Show Original Post


1 ...880 881 882 883 884 885 886 887 888 889 890 ...1571
UP