python

Back Open Paginator
09.01.2026 17:02
RodStephens (@RodStephens@hachyderm.io)

Write a higher/lower game that demonstrates a while loop's else block in Python

(The interesting part is the else block.)

rodstephensbooks.com/while_els
#Python #Loops





Show Original Post


09.01.2026 17:01
PythonPeak (@PythonPeak@mastodon.social)

Default Argument Vault

Old calls keep returning

Captures how a mutable default parameter becomes a hidden vault, accumulating every invocation forever.

youtube.com/watch?v=iUwo3ECzT9k




Show Original Post


09.01.2026 17:00
wagtail (@wagtail@fosstodon.org)

Pssssssssst! Want a chance to procrastinate a bit? You could nominate your favorite CMS for the CMS Critic Awards instead of sending that email. We won't tell your boss. We promise. 😉

Nominate Wagtail here: cmscritic.com/nominate

#Wagtail #Django #Python #CMS




Show Original Post


09.01.2026 16:57
w (@w@bolha.tube)

Improviso do Dia - 2026-01-09

bolha.tube/w/dD3DFX64XsF3KPhzb




Show Original Post


09.01.2026 16:47
marcgibbons (@marcgibbons@mastodon.social)

Despite my appearance, upgrading to Django 6.0 was pain-free. But, there was one small issue. Read "How a Single Test Revealed a Bug in Django 6.0" lincolnloop.com/blog/how-a-sin





Show Original Post


09.01.2026 16:40
talkpython (@talkpython@fosstodon.org)

We are live on YouTube in 25 minutes. Join us and be part of the show with @mkennedy and Larry Ogrodnek. #python #podcast

Topic: PyView: Real-time Python Web Apps

youtube.com/watch?v=g0RDxN71azs




Show Original Post


09.01.2026 16:28
ubuntu_touch (@ubuntu_touch@mstdn.social)

Círculos expansivos:
- El radio de los círculos aumenta con el tiempo

Interacción con el ratón

#cv2 #python tmux





Show Original Post


09.01.2026 16:02
habr (@habr@zhub.link)

Как я создала ИИ-агента для анализа отзывов, потому что мне было лень читать 200+ строк в гугл таблице

Или история о том, как лень двигатель прогресса. Когда мне на курсе дали домашку проанализировать больше 200 отзывов о кофейне "Great Grounds", я поняла одно: читать это всё вручную я точно не буду. У меня был выбор: потратить несколько часов на монотонное чтение однотипных "кофе супер" и "цены кусаются", загрузить это в NotebookLM (что я сделала в последствии, для сравнения результатов) или повайбкодить. Например, создать своего мини ИИ-помощника, который сделает это за меня. Спойлер: я выбрала вайбкодинг, и вот что из этого вышло.

habr.com/ru/articles/983846/

#вайбкодинг #python #google_colab #notebooklm




Show Original Post


09.01.2026 15:55
JGraber (@JGraber@mastodon.social)

Friday #313: Persisted Cache for Function Calls

pythonfriday.dev/2026/01/313-p




Show Original Post


09.01.2026 15:19
bterwijn (@bterwijn@fosstodon.org)

Visualization of Python execution can help beginners to understand how their program state changes over time and to debug any remaining issues.

For example, a classic intro-course exercise — computing which coins to use to pay an amount using a greedy approach:
memory-graph.com/#codeurl=http

#Python #programming #memory_graph





Show Original Post


09.01.2026 15:00
hroncok (@hroncok@floss.social)

Let's use #TOML for #Python packaging, it will be fun, they said.

Now we have TOML 1.1, and if packages start using it, they will no longer work with tools only supporting TOML 1.0. Such fun :)

discuss.python.org/t/adopting-




Show Original Post


09.01.2026 14:53
villares (@villares@ciberlandia.pt)

Hey folks! We have recently had a wonderful new release of #py5, read about the new 3D trimesh integration feature and the matplotlib TextPath integration.
That release was quickly followed by a release to fix some small issues that surfaced this last week. Please check out py5 0.10.9a1 and join us at github.com/py5coding/py5genera to share your experiences!

#CreativeCoding #Processing #Python #genuary (sorry for the hashtag spamming, I couldn't resist!)




Show Original Post


1 ...683 684 685 686 687 688 689 690 691 692 693 ...1583
UP