python

Back Open Paginator
13.09.2025 09:43
datenschauer (@datenschauer@mastodon.social)

Seit über 10 Jahren entwickle ich beruflich und privat Software mit und . Diesen Uelaub habe ich mich mal wieder seit ca. 15 Jahren, als ich das erste Mal damit über die Uni in Berührung kam, sehr intensiv mit der auseinandergesetzt. Warum? Zuerst einmal aus reiner Laune heraus und diesem Drang, mehr „hinter“ die Dinge zu blicken.
Was soll ich sagen? Es macht verdammt viel Spaß!




Show Original Post


13.09.2025 09:38
paulox (@paulox@fosstodon.org)

Just shared a short video of my favorite DjangoCon US 2025 moments in Chicago 🎥✨

It’s been amazing to meet so many Django folks in person, exchange ideas, and hack together 🤝💻

Thank you for the warm welcome, you made me feel at home! 🙏💙

Join a DjangoCon if you can — it’s community at its best 🌍

#DjangoCon #Django #Python #Chicago #USA

CC @djangocon





Show Original Post


13.09.2025 09:36
clonbg (@clonbg@masto.es)

Minimizar al tray un programa hecho en PyQt5 myblog.clonbg.es/minimizar-al- #Programación #PyQT #Python clonbg.es





Show Original Post


13.09.2025 08:52
mgorny (@mgorny@pol.social)

#Zope wydało nowe wersje paczek, usuwając przestrzenie nazw typu pkg-resources.

Całkowicie normalny sposób aktualizacji paczek w #Gentoo:

1. Na początek, zachowaj oryginalne obejście na testy (tworzenie własnego `__init__.py`).
2. Zauważ, że kolejna paczka się sypie, bo testy oczekują ścieżek względem podkatalogu `zope`. Pomiń ją na razie.
3. Przy następnej paczce uświadom sobie, że zamiast powyższego obejścia możesz po prostu wejść do podkatalogu `zope`. Wróć się i zaktualizuj poprzednie paczki, włącznie z tą, która się sypała.
4. Z powrotem do aktualizacji. Przy następnej paczce zauważ, że już wcześniej miałeś lepsze rozwiązanie: zamiast `cd` było `python -m unittest -s …`. No więc z powrotem, i znów wszystkie paczki na to jedno rozwiązania.
5. No i dalsze paczki. Przy kolejnej okazuje się, że ta jednak oczekuje ścieżek względem głównego katalogu site-packages… No dobra, zrobimy hybrydę `__init__.py` z `python -m unitest -s …`.

#Python




Show Original Post


13.09.2025 08:46
mgorny (@mgorny@social.treehouse.systems)

So #Zope released new versions of their packages, with pkg-resources style namespace removal.

Totally normal way to do the bumps:

1. At first, keep the existing testing hack (writing `__init__.py`).
2. Notice that the next package fails because it expects test paths relative to `zope` subdirectory. Skip it for now.
3. While doing the next package, realize you could remove that hack and simply run tests within the `zope` subdirectory! Go back and update all the previous packages, including the one that failed before.
4. Back to bumping. Notice that in the very next package you've had an even better solution: instead of `cd`, you just called `python -m unittest -s …`. Go back and update all the previous packages.
5. Back to bumping. The very next package turns out to actually expects test paths relative to the top-level site-packages directory. Well, you can use a hybrid of the `__init__.py` hack with `python -m unittest -s …`.

#Gentoo #Python




Show Original Post


13.09.2025 07:48
mathemaTICE (@mathemaTICE@mastodon.social)

Le N° 96 de MathémaTICE est en ligne.

Mireille Coilhac y présente CodEx, une plateforme d’apprentissage de l’ et de la en à l’aide d’exercices interactifs.
Le site comporte plus de 300 exercices. C’est un outil clé en main, pour les élèves de lycée (NSI, SNT, maths) et les étudiants. Aucune installation ou inscription n’est nécessaire : tous les programmes sont exécutés sur la machine, tablette ou téléphone.

revue.sesamath.net/spip.php?ar
@framaka





Show Original Post


13.09.2025 06:14
pyconafrica (@pyconafrica@mastodon.social)

Join our FREE workshops on 8 October for PyCon Africa’s Beginners Day! No experience needed. Connect with the Python community: za.pycon.org/beginners-day

Share and help us open doors!





Show Original Post


13.09.2025 06:12
pyconza (@pyconza@fosstodon.org)

Join our FREE workshops on 8 October for PyCon Africa’s Beginners Day! No experience needed. Connect with the Python community: za.pycon.org/beginners-day

Share and help us open doors!

#Python #PyCon #DjangoGirls #HumbleData #PyGame #Apify #Plotnine





Show Original Post


13.09.2025 05:20
lobsters (@lobsters@mastodon.social)

Basics of Equality Saturation lobste.rs/s/hh07fn
egglog-python.readthedocs.io/l




Show Original Post


13.09.2025 05:04
villares (@villares@pynews.com.br)

Using py5 #matplotlib #colormap integration: #viridis (youtube.com/watch?v=xAoljeRJ3lU) Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding





Show Original Post


13.09.2025 04:47
adamghill (@adamghill@indieweb.social)

Released 0.1.1 of `troml`, a tool that suggests classifiers, i.e. pypi.org/classifiers/, for #Python packages.

It looks at the following in pyproject.toml:
- project.python-requires
- project.dependencies
- project.dependency-groups
- tool.uv.constraint-dependencies

It also will look for a `py.typed` file.

Based on what it finds, it will suggest new classifiers to add (or remove).

⚙️ github.com/adamghill/troml
📦 pypi.org/project/troml/





Show Original Post


13.09.2025 04:25
mr_daemon (@mr_daemon@untrusted.website)

WOOPS I've added OpenBSD support to Exosphere. One thing led to another and uh...

#exosphere #HomeLab #python #devlog #openbsd





Show Original Post


1 ...1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 ...1551
UP