"Can you write code that is actually a 2D graphic? Where the graphical layout isn’t a cover for code, but is the code itself?"
Surely #Python has already answered this question: you can, but it's not a good idea.
Work in progress (WIP):
Batch converts a text-file of phrases into individual MP3 audio files, one file per phrase/line. To be used in guided meditation tracks, music learning, language learning, and more.
Tech: HTML form which POSTs to FastAPI, which hits text-to-speech ElevenLabs API.
Today's accomplishments
- Tests!
- Runs locally as a Docker container
Next:
- Add Voice speed setting to web interface
- Run on cloud
Source code: https://codeberg.org/jro/Typhoon_phrases-to-voice-audio
Primeros pasos con PyQt y QtDesigner. Primer programa con Python https://myblog.clonbg.es/primeros-pasos-con-pyqt-y-qtdesigner-primer-programa-con-python/ #Programación #Python #PyQT https://clonbg.es

... consistently. It's odd because it works fine when I use the same strings in a browser versus in the console. I wonder if I've got a misconfiguration in the container. I already traced down an ipv6 issue (nb: set it to static in the container configuration when there isn't an ipv6 DHCP server).
It could also be that the #python 3 code the #LLM is spitting out is at the ragged edge of my understanding.
I also need to make the code store all 16 images before rsyncing them to the remote...
@nixCraft I am well on my way experience-wise after fixing bodged-together #Python code for nearly a decade.
Damn it, why writing PyQt gives me a déjà vu of writing PyGtk
#python #gtk #qt #thisshitissoass
Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_08_18
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding

Neues Script geschrieben, quasi ein Schweizer Taschenmesser zum erstellen von Proxmox VMs mit cloudinit über die api. Auf einem alten 1Liter Rechner mit i5-8500T CPU von null auf 100 in 19 Sekunden.
#python #cloudinit #proxmox #lenovo #api #debian

My free add-on extension repository is now updated! The URL is now https://extensions.spencermagnusson.com/add_ons/index.json
I'll keep the GitHub one around so people won't be confused during the transition, but I'll announce this in my next video.
I'm hosting a programming workshop
it starts on the 26th and runs for 6 weeks.
Meets Tuesdays / Thursdays:
Register https://sa.wentcloud.com/learn-to-program/
#programming #workshop #python #software #learning #education
BEHOLD - I have discovered an ANCIENT BLENDER PLUGIN which is SO OLD it is IMPLEMENTED IN PYTHON 2.X 💀 🐍

Preventing Domain Resurrection Attacks (on the Python Package Index) https://lobste.rs/s/fuaxsi #python #security
https://blog.pypi.org/posts/2025-08-18-preventing-domain-resurrections/