Building a dynamic dashboard in Django? Django Unicorn lets you create reactive components that update in real time. Goodbye, page reloads! #WebDev #Python #DjangoUnicorn #django @adamghill @unicorn
Genervt much, #NwT #NIT in #eduBW? Etwa von den Anfragen mutiger NwT-Lehrer:innen, die seit bald 10 Jahren v.a. fachfremd in #Arduino-Gefilde vorgedrungen sind und mit schwitzenden Händen das aufgebaut haben, was Ihr jetzt arrogant mit dem Arsch wieder einreißt? Sorry, kein Verständnis für diesen Ton! Auf der Sprengelsitzung musste die Leiterin schon beschwichtigen, aber mit dieser frechen Ansage stellt Ihr ja nun klar, dass das alles Augenwischerei war! #Python #Micropython (1/2)

#Arduino und #Python verstehen sich scheinbar nur, wenn man bestimmte Arduinos benutzt, z.B. ESP32. Die meisten werden aber einen riesigen Bestand von Unos und Nanos R3 haben, die sie nur mit C++ programmieren können. Und Ihr schreibt Euch DAS auf die Fahnen und in Euren Newsticker? Mit einer weniger schroffen Attitüde würde die #Informatik leichter Einzug in #NIT halten. Ich bin jedenfalls schön demotiviert und muss es meiner Fachschaft dennoch schmackhaft machen.
Danke für nichts! (2/2)
note: the #python version of the bot will continue to use gemini-3-flash-preview and the Gemini API because it does not have this same problem. if one of you want it to use a different AI model, then, well, fire up the code editor and get to work. i'll be weighting for your great proposal/push request. https://github.com/averlice/blindsoft-image-describer
Oh no, my #ROS2Jazzy #robot discovered #MoonDream #VisionAssistant (v0.0.6 with local model #Python API) and found an image of "a bunch of models enjoying each others company sitting on a ledge" in its filesystem.
I hope it doesn't go all obsessive and start googling them.
Certainly not letting it near social media.

Split images into halves in Python
(The second in a four-part series leading to a flash card app.)
https://rodstephensbooks.com/split_images.html

Balbix is hiring AI/ML Architect
🔧 #python #solutionsarchitect
🌎 Bengaluru, India
⏰ Full-time
🏢 Balbix
Job details https://jobsfordevelopers.com/jobs/ai-ml-architect-at-balbix-com-jul-23-2024-145b4b?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring
In datetime hell again. I just hate #Python's datetime SO much. Any given datetime object might or might not have a timezone. Any given function might or might not return a timezone-aware datetime. If you ever mess up and call a function that returns a timezone when you didn't expect one, or vice versa, or a function you call changes in that respect, now you have a hidden time bomb that will crash your program the next time you do a comparison with or subtraction from another datetime.
Python Tip #51 (of 365):
Consider replacing slices with extended tuple unpacking.
Instead of this:
command = tokens[0]
args = tokens[1:]
Consider this:
command, *args = tokens
Or maybe even this (see tip 49):
[command, *args] = tokens
Using traditional tuple unpacking requires knowing the size of the iterable you're unpacking.
Extended tuple unpacking (with a *) allows unpacking an iterable of an unknown size.
Python Tip: F-String Debugging
x = 42
print(f'{x = }') # Output: x = 42
print(f'{len(data) = }') # Output: len(data) = 15
Add = after a variable in an f-string to print both the expression and its value. Game-changer...
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
Python Tip: Multiple Assignment
# Swap without temp variable
a, b = b, a
# Multiple returns
def min_max(lst):
return min(lst), max(lst)
lo, hi = min_max([3,1,4,1,5])
Python's tuple packing/unpacking makes swaps and multiple returns elegant.
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
#Python Friday #319: Testing Trading Algorithms: MACD
https://pythonfriday.dev/2026/02/319-testing-trading-algorithms-macd/