python

Back Open Paginator
19.02.2026 12:55
villares (@villares@ciberlandia.pt)

#Python's #itertools is a smash isn't it?

docs.python.org/3/library/iter




Show Original Post


19.02.2026 12:25
villares (@villares@pynews.com.br)

471 of 1703 triangulations of the 3 x 3 grid
Find the sketch-a-day archives and tip jar at: abav.lugaralgum.com/sketch-a-d
Code for this sketch at: github.com/villares/sketch-a-d #Processing #Python #py5 #CreativeCoding





Show Original Post


19.02.2026 11:01
PythonPeak (@PythonPeak@mastodon.social)

Python Collections Namedtuple Advanced

Advanced namedtuple usage
Creating named tuples with methods and defaults
Basic named tuple

#python #programming #tutorial #coding #collections #namedtuple #advanced

youtube.com/watch?v=RDRP8xi0QV0




Show Original Post


19.02.2026 11:00
ThePSF (@ThePSF@fosstodon.org)

The 2026 Python Developers Survey is translated into Chinese, French, German, Korean, Japanese, Portuguese, Russian, and Spanish. We hope this encourages our regional communities to participate- take the survey and share with your local Pythonistas! #python #pythondevsurvey
surveys.jetbrains.com/s3/pytho




Show Original Post


19.02.2026 10:53
mopicmp (@mopicmp@mastodon.social)

Python Tip: functools.lru_cache

from functools import lru_cache

@lru_cache(maxsize=128)
def fib(n):
if n < 2: return n
return fib(n-1) + fib(n-2)

fib(100) # instant, not billions of calls

lru_cache memoizes function results. Recursive Fibonacci goes from O(2^n) to O(n) with one...

raccoonette.gumroad.com/l/Pyth




Show Original Post


19.02.2026 10:52
mopicmp (@mopicmp@mastodon.social)

Python Tip: Exception Groups (Python 3.11)

try:
async with TaskGroup() as tg:
tg.create_task(fetch(url1))
tg.create_task(fetch(url2))
except* ValueError as eg:
for e in eg.exceptions:
handle(e)

Python 3.11 ExceptionGroups handle multiple concurrent errors. Essential for async code.

raccoonette.gumroad.com/l/Pyth




Show Original Post


19.02.2026 10:24
heiseonlineenglish (@heiseonlineenglish@social.heise.de)

VS Code: Python Environments Extension generally available

The new extension for Visual Studio Code aims to end the previous fragmentation and ensure a uniform workflow with Python environments.

heise.de/en/news/VS-Code-Pytho

#Entwicklungsumgebung #IT #Microsoft #Python #Softwareentwicklung #MicrosoftVisualStudio #news




Show Original Post


19.02.2026 10:10
heisedeveloper (@heisedeveloper@social.heise.de)

VS Code: Python Environments Extension allgemein verfügbar

Die neue Erweiterung für Visual Studio Code soll die bisherige Fragmentierung beenden und für einen einheitlichen Workflow mit Python-Umgebungen sorgen.

heise.de/news/VS-Code-Python-E

#Entwicklungsumgebung #IT #Microsoft #Python #Softwareentwicklung #MicrosoftVisualStudio #news




Show Original Post


19.02.2026 09:22
pyberlin (@pyberlin@mastodon.social)

Tonight Valentin Haenel will give a talk on Numba, a Python just-in-time (JIT) compiler. We would be delighted to see many of you there: meetup.com/python-users-berlin




Show Original Post


19.02.2026 09:06
andros (@andros@activity.andros.dev)

Mi web ahora es ~2.8x más rápida al convertirla en SPA gracias a Django LiveView

https://andros.dev/blog/0b307aa9/mi-web-ahora-es-28x-mas-rapida-al-convertirla-en-spa-gracias-a-django-liveview/

#web #python #django #djangoliveview




Show Original Post


19.02.2026 09:05
andros (@andros@activity.andros.dev)

My website is now ~2.8x faster after converting it to a Django LiveView SPA

https://en.andros.dev/blog/dd5a0746/my-website-is-now-28x-faster-after-converting-it-to-a-django-liveview-spa/

#web #python #django #djangoliveview




Show Original Post


19.02.2026 08:14
pypodcats (@pypodcats@fosstodon.org)

Sneak peek into our upcoming episode of #HiddenFiguresofPython!

Meet Sheena O’Connell!

From startups to nonprofit education, @sheena has spent the last five years rethinking how people learn to code.

Founder of Prelude.tech and leader of the Guild of Educators, she supports teachers through practical, community-driven approaches.

We talk #Python, teaching practice, and building strong educator communities.

Hosts: @cheukting_ho & @terezaif

Full episode drops Feb 26

youtube.com/watch?v=BzIPQyaRR9M




Show Original Post


1 ...460 461 462 463 464 465 466 467 468 469 470 ...1589
UP