python

Back Open Paginator
21.03.2026 23:01
PythonPeak (@PythonPeak@mastodon.social)

Python Chainmap Nested Dictionaries

ChainMap for managing nested dictionary lookups
Efficient way to search through multiple dictionaries
Default configuration

#python #programming #tutorial #coding #chainmap #nested #dictionaries

youtube.com/watch?v=CHgVSjzn2lQ




Show Original Post


21.03.2026 22:18
hobbs (@hobbs@dobbs.town)

had some rate limiting ideas to try out with @ryanhiebert 's queueio.dev

had claude dump a bunch of #frontmission wanzer data into a file for me and i built a contrived rate limiting api around it. got hung up trying to get #rabbitmq to work with the #devcontainer in #devpod so i didn't get any real code that i wanted to do in. i'll start back in on it when i get some spare time.

repo sadly void of queueio code here: github.com/cmhobbs/wanzerbay

stay tuned!

#python #async #tinkering




Show Original Post


21.03.2026 22:15
wigalois (@wigalois@dresden.network)

Can it run a #moon landing? (s m) #KSP #KerbalSpaceProgram #ZXSpectrum #Sinclair #kRPC #Python #SinclairBasic

youtube.com/watch?v=XQTh1Davsj8




Show Original Post


21.03.2026 22:00
krapp (@krapp@krapp.masto.host)

As infuriating, frustrating and up its own arse as #Python can be, I have to admit that list comprehensions go unreasonably hard. I wish more languages had this. I wish "We have Python at home" #GDScript had this.

I literally keep forgetting that this is a thing because I only use Python for Nikola and then I remember and it feels like cheating somehow.

Significant whitespace is still the Devil's palimpsest and I will die on this hill.





Show Original Post


21.03.2026 21:05
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

Aircall is hiring Software Engineer - Paris hybrid

🔧 #python #ruby #typescript #react #serverless #node #api #graphql #rest #aws #postgresql #redis
🌎 Paris, France
⏰ Full-time
🏢 Aircall

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




Show Original Post


21.03.2026 20:19
zopyx (@zopyx@mastodon.world)

Do we have to care about new #Python versions or new #Python PEP when almost the majority of code will be AI-generated? Unlikely.




Show Original Post


21.03.2026 19:21
treyhunner (@treyhunner@mastodon.social)

Python Tip #80 (of 365):

Concatenate iterables with the string join method.

Instead of this:
guests = ""
for name in names:
if guests: guests += ", "
guests += name

Do this:
guests = ", ".join(names)

The join method doesn't just work on lists. Any iterable of strings will work.

But it MUST be an iterable of STRINGS. If you have an iterable of non-strings, you can use a generator expression:
joined = "\n".join(str(n) for n in numbers)

pym.dev/turn-a-list-into-a-str

#Python #DailyPythonTip




Show Original Post


21.03.2026 19:10
RomanOnARiver (@RomanOnARiver@mastodon.social)

The challenge right now is can I separate out foregrounds and backgrounds. In a non-flattened PDF? Easy. In a flattened PDF, or a JPG, or PNG, that's the challenge. I'm considering things like distance from border, clusters of colors. I'd like to say I'm getting somewhere three revisions in, but really I can't say I'm getting anything but "okay" results. I'm sure there's a library that does this all automatically for me.




Show Original Post


21.03.2026 19:03
jessebot (@jessebot@social.smallhack.org)

Could I please get some kind backup here? I really love the textual project and would love some help advocating for them dropping their current AI policy.

https://github.com/Textualize/textual/discussions/6446

(I mean it. Don't be rude. I really love this project.)

#noai #python




Show Original Post


21.03.2026 18:46
247CodeGirl (@247CodeGirl@mastodon.social)

Season 1 Lesson 10 Part 3 - Your First Steps in Python Fast Cache Detection Using Python Identity





Show Original Post


21.03.2026 18:18
lattera (@lattera@bsd.network)

I keep finding myself tailing each line with a semicolon.

#JustCProblems #Python




Show Original Post


21.03.2026 17:58
2026 (@2026@www.kernel-error.de)

Voltcraft CM 2016: Endlich eine Linux-GUI für das Ladegerät

Die erste freie Linux-GUI für das Voltcraft Charge Manager CM 2016 Ladegerät. GTK4, Python, Echtzeit-Überwachung, Diagramme, Export und Protokoll-Reverse-Engineering.

kernel-error.de/2026/03/21/vol





Show Original Post


1 ...282 283 284 285 286 287 288 289 290 291 292 ...1596
UP