python

Back Open Paginator
02.02.2026 19:30
andreklein (@andreklein@mastodon.social)

A few of you asked about the TUI editor from yesterday. I finished the README, squashed the messy history, and kicked it out the door.

Clone, fork, or hack it here: github.com/burninc0de/helowrite





Show Original Post


02.02.2026 19:19
awilbert (@awilbert@mastodon.social)

A little more work on my custom stereogram (magic eye) python node for ComfyUI. There seems to be an optimal ratio for the image size to the pattern size, but I'm not sure exactly what that is yet. Feels like I'm getting closer though.

Here's Crater Lake, and the depth map it came from. If your eyes are able to get the 3d effect to converge, you should see an exaggerated z-scale of the topography/bathymetry.





Show Original Post


02.02.2026 18:54
mathsppblog (@mathsppblog@fosstodon.org)

It's pretty cool how much you can get done in #Python with so little code if you leverage the standard library.





Show Original Post


02.02.2026 18:34
notes (@notes@woem.men)

#Python's logging.handlers.SysLogHandler is cursed… Try getting a correct RFC 3164 style messages without overriding the locale to C or implementing your own Formatter for %(asctime)s. To be fair demanding abbreviated month names as part of the RFC is basically begging for trouble, but that's exactly the kind of thing a standard library should handle. ​:neocat_googly_shocked:




Show Original Post


02.02.2026 17:56
debacle (@debacle@framapiaf.org)

@lascapi @threemaapp @matrix @xmpp

AFAIK, the Threema client is #freeSoftware. With the code it should be possible to create a puppeteering bridge, as #Slidge by @nicoco already does with Signal, Telegram, and Whatsapp. I.e. users still would need a Threema account and could use their #Jabber client to access it. Real federation is not possible, IMHO.

You need to know #Python and #slixmpp to write a new Slidge based bridge. I'm sure, there is a lot of interest in a Threema one!




Show Original Post


02.02.2026 17:52
Posit (@Posit@fosstodon.org)

Good news: The posit::conf(2026) Call for Talks has been extended to Friday, February 20!

Join us in Houston to share your work with the R and Python community.

🎤Speakers receive: Professional coaching, free conference pass, travel assistance

Submit your 20-minute talk proposal by Feb 20: pos.it/conf-talk-2026

#positconf2026 #rstats #pydata #python





Show Original Post


02.02.2026 17:35
RodStephens (@RodStephens@hachyderm.io)

Make buttons grow and shrink when the mouse moves over them with tkinter in Python

rodstephensbooks.com/pop_butto

#Python #UserInterface #Tkinter





Show Original Post


02.02.2026 17:35
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

Show HN: Stelvio – Ship Python to AWS

stelvio.dev/




Show Original Post


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

The __getitem__ method in #Python can do more than simple lookups:

class DoubleIndex:
def __getitem__(self, i):
return i * 2

d = DoubleIndex()
d[5] # returns 10

Use [] for custom logic — returning filenames, random numbers, or database records.





Show Original Post


02.02.2026 17:05
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

Branch is hiring Senior Data Engineer, India

🔧 #java #python #scala #aws #druid #gcp #kafka #kubernetes #nosql #postgresql #redis #seniorengineer
🌎 Bengaluru, India
⏰ Full-time
🏢 Branch

Job details jobsfordevelopers.com/jobs/sen
#jobalert #jobsearch #hiring




Show Original Post


02.02.2026 17:00
PythonPeak (@PythonPeak@mastodon.social)

Turbocharge Design Diamond Symmetric Built With Python

Symmetric diamond built with loops

Constructs a full diamond by stacking an upward and downward pyramid back-to-back.

youtube.com/watch?v=HA2D2H4nPjY




Show Original Post


02.02.2026 16:32
resingm (@resingm@infosec.exchange)

By the way: #Python is such a great tool for these quick endeavors:

lines = res.content.decode("utf-8").split("\n")
lines = filter(lambda e: len(e) and not e.startswith("#"), lines)
addr = [ipaddress.IPv4Network(e) for e in lines]

sum(map(lambda e: e.num_addresses, addr)) / ipaddress.IPv4Network("0.0.0.0/0").num_addresses

That's it. Except you also need to fetch the bogon list, which I excluded to avoid brand promotions.




Show Original Post


1 ...547 548 549 550 551 552 553 554 555 556 557 ...1587
UP