python

Back Open Paginator
10.03.2026 16:00
sheena (@sheena@fosstodon.org)

The annual #Python Developers Survey is still open! Have you filled it in yet?

It takes about 15 minutes, and it makes a difference. It helps the #PSF better understand the community.

surveys.jetbrains.com/s3/pytho




Show Original Post


10.03.2026 15:36
hugovk (@hugovk@mastodon.social)

I made a thing: here's the upcoming Python releases.
hugovk.github.io/next-release/
Oh, look, there's one today! I hope that's out soon...





Show Original Post


10.03.2026 14:43
wingware (@wingware@masto.ai)

Wing 11.1 has been released with improved pseudo TTY emulation in OS Commands, Start Terminal on Windows, syntax highlighting for Rust and TOML, support for newer OpenAI models in AI Chat, new Stop on SystemExit debugger preference, and other minor features and bug fixes: wingware.com/news/2026-03-10 #python #pythonlanguage




Show Original Post


10.03.2026 14:30
Reuven (@Reuven@fosstodon.org)

Curious about #Python and #Pandas with Claude Code?

Next week, I'm starting my second round of AI coding workshops, where we'll solve problems with Claude Code.

Watch yesterday's info session, where I explained my thinking, and my workshop plans: youtu.be/74k9Cr4epKY

Questions? Ask me here!





Show Original Post


10.03.2026 14:27
datamancer (@datamancer@twoot.site)

Pythonistas, I came across a snippet and I am wondering why it is written this way.

dirs[:] = [d for d in dirs if not d.startswith('.')]

This is in the context of pruning Path.walk() recusion. And I don't know why the slice portion is included in the left side of the assignment (i.e. dirs[:]) instead of just dirs.

#python




Show Original Post


10.03.2026 14:24
lwn (@lwn@fedi.lwn.net)

[$] Debian decides not to decide on AI-generated contributions

Debian is the latest in an ever-growing list of projects to wrestle (again) with the question of LLM-generated contributions; the latest debate stared in mid-February, after Lucas [...]

lwn.net/Articles/1061544/ #LWN #Linux #Debian #LLVM #Python




Show Original Post


10.03.2026 14:19
mopicmp (@mopicmp@mastodon.social)

Python Tip: slots for Memory

@dataclass(slots=True)
class Pixel:
x: int
y: int
color: str
# Uses 40% less memory than regular class

Adding slots=True to dataclasses prevents __dict__ creation. Saves ~40% memory per instance.

raccoonette.gumroad.com/l/Pyth




Show Original Post


10.03.2026 14:19
mopicmp (@mopicmp@mastodon.social)

Python Tip: bisect for Sorted Insert

import bisect
scores = [60, 70, 80, 90]
bisect.insort(scores, 75)
# [60, 70, 75, 80, 90] — O(log n) search

bisect module maintains sorted lists efficiently. O(log n) search + O(n) insert beats O(n log n)...

raccoonette.gumroad.com/l/Pyth




Show Original Post


10.03.2026 14:05
lobsters (@lobsters@mastodon.social)

Madblog: Turn a Markdown folder into a federated blog lobste.rs/s/9nzeu7
blog.fabiomanganiello.com/arti




Show Original Post


10.03.2026 13:55
r (@r@fed.brid.gy)

Madblog: Turn a Markdown folder into a federated blog

fed.brid.gy/r/https://blog.fab





Show Original Post


10.03.2026 13:47
FLOZz (@FLOZz@mastodon.social)

🚀️ Rivalcfg v4.16.1 released (hotfix)

This version fixes the sensitivity (DPI) settings of the SteelSeries Rival 3 Wireless Gen 2.

Read more on Rivalcfg website:

➡️ rivalcfg.flozz.org/news/releas




Show Original Post


10.03.2026 13:45
ThePSF (@ThePSF@fosstodon.org)

The March edition of the PSF Board Office Hour is about to begin 🐍 🗒️ 1 PM UTC. Join us to share how we can help your community, express your perspectives, and provide feedback for the PSF! #python
pyfound.blogspot.com/2025/10/a




Show Original Post


1 ...350 351 352 353 354 355 356 357 358 359 360 ...1592
UP