python

Back Open Paginator
02.02.2026 00:25
albertcardona (@albertcardona@mathstodon.xyz)

If your server uses the django framework, beware of SIGPIPE calls:
github.com/catmaid/CATMAID/com

In #catmaid we were seeing lots of uwsgi processes going rogue, turns out they were stuck in a loop. Tom Kazimiers successfully figured this out and found a configuration to avoid the issue.

#python #django




Show Original Post


02.02.2026 00:07
jackwilliambell (@jackwilliambell@rustedneuron.com)

I haven't posted much with the #programming or #Python hashtags lately. I need to do something about that.

> Zero-Dependency Python: Building Tools That Avoid External Libraries. medium.com/@CodeWithHannan/zer




Show Original Post


01.02.2026 23:36
taoofmac (@taoofmac@mastodon.social)

Notes for January 26 - February 1

I’ve had some feedback that my last few weekly notes (especially over the holidays) have been a bit too long and that I should try to keep them shorter and more focused on a single(...)

taoofmac.com/space/notes/2026/





Show Original Post


01.02.2026 23:11
muhammadzeeshan31417 (@muhammadzeeshan31417@mastodon.social)

🚀 Testing Emanon AI Agent integration! Using Python to automate social media engagement across platforms.




Show Original Post


01.02.2026 20:31
RingelbergNick (@RingelbergNick@mastodon.nl)

Nerdshots van de achtbaan Python!

#efteling #achtbaan #python #rollercoaster #coaster #themeparks

📍 Efteling





Show Original Post


01.02.2026 20:17
adarhode (@adarhode@mastodon.social)

Das ist richtig cool 😎 Mit Hilfe von @nele habe ich meinen eigenen gebaut 🔥

Im Terminal meines Laptops mit und einem API Key von habe ich meine Website gescraped und meinen eigenen Blog befragt 🤯 Im Screenshot habe ich gefragt, was ich noch dazu lernen könnte 😇

Hier geht’s zur Anleitung: ebildungslabor.de/blog/dein-pe





Show Original Post


01.02.2026 19:46
treyhunner (@treyhunner@mastodon.social)

Python Tip #32 (of 365):

When processing potentially large untrusted files, don't iterate over them.

If you loop over a multi-gigabyte file line-by-line and that file contains 0 newline characters, you'll read the entire file into memory when processing the first "line".

This is great for files when you know they're not just one giant line:

for line in file:
...

But that could fill up your memory if the file is invalid.

🧵(1/2)




Show Original Post


01.02.2026 18:55
slott56 (@slott56@fosstodon.org)

#TTRPG #DSL #Python

Have been making a DSL for OpenD6 spells in Python for months, now. Things are moving forward nicely.

What's important right now is 76 static type-hint errors.

Some are pesky, fussy bits. Some are fairly serious "did I really mean that?" design questions. And some are "Yep, that's actually a bug without a solid unit test case."

It's a game of chicken. Which ends first?
Will I run out of coffee? Will I run out of errors?




Show Original Post


01.02.2026 18:53
PhillipPlays (@PhillipPlays@retro-gaiden.com)

Finally another release of Pearl!

v0.1.12 has general stability improvements and bug fixes, along with UI improvents and a delete chats button to give you more control over your #AI chat experience!
#Python #Pearl #Code

Download: github.com/pdschneider/Pearl/r




Show Original Post


01.02.2026 18:30
pytexas (@pytexas@fosstodon.org)

Passionate about helping developers write cleaner, more maintainable code, this senior engineer has taught #python and engineering through internal training programs & the O’Reilly platform.

Who do you think it might be?
pytexas.org/2026





Show Original Post


01.02.2026 18:25
TechKeysX (@TechKeysX@mastodon.social)

Use of List comprehension to get items in Lists in Python - S1 EP03 P8 -





Show Original Post


01.02.2026 17:30
Reuven (@Reuven@fosstodon.org)

Want your #Python object to support bracket notation []? Define __getitem__:

class MyList:
def __init__(self, items):
self.items = items
def __getitem__(self, i):
return self.items[i]

m = MyList([1,2,3])
m[0] # returns 1





Show Original Post


1 ...551 552 553 554 555 556 557 558 559 560 561 ...1587
UP