python

Back Open Paginator
19.11.2025 00:11
clonbg (@clonbg@masto.es)

Mi primer CRUD con Python myblog.clonbg.es/mi-primer-cru #Programación #Python #PyQT clonbg.es





Show Original Post


18.11.2025 22:44
WillyECoyote69 (@WillyECoyote69@mstdn.social)

KERNEL PANIC !

My Ubuntu VM just started panicking while doing some minor Python debugging .... #Grrrrrrrr

#Ubuntu #Python




Show Original Post


18.11.2025 22:09
kajord (@kajord@hachyderm.io)

or if you are a python user, go ahead and "import antigravity" if you weren't already familiar with the easter egg.

#Python #XKCD




Show Original Post


18.11.2025 22:05
kajord (@kajord@hachyderm.io)

If you are not familiar with the reference, you're one of today's lucky 10,000!

xkcd.com/353/

#Python #XKCD




Show Original Post


18.11.2025 22:02
pythonrennes (@pythonrennes@social.breizhcamp.org)

un article expliquant différents concepts ou approches en #Python : mathspp.com/blog/a-generator-d
- les générateurs pour des itérations "à la demande" plus légères en mémoire
- le duck-typing : l'article parle des protocoles sans mentionner cette abstraction pour faire du typage structurel (docs.python.org/3/library/typi, realpython.com/python-protocol/)
- des syntaxes pour des traitements conditionnels sans branches if-else
- EAFP vs LBYL (try-except vs if ... do) : notamment "with contextlib.suppress(ValueError)"




Show Original Post


18.11.2025 21:50
sptral (@sptral@mastodon.social)

💻 Python y el Futuro Tech
Python no es solo un lenguaje; es una filosofía en el desarrollo de software. Su legibilidad y vasta librería lo hacen esencial para IA, Machine Learning y Automatización. Si eres Ingeniero en Sistemas, dominarlo es clave para construir el futuro digital. ¡Sigue aprendiendo y creando!




Show Original Post


18.11.2025 21:41
SnoopJ (@SnoopJ@hachyderm.io)

This discussion of a "pre-proposal" for #Rust in the #CPython core has been an interesting one to watch over the last 24 hours, although I'm sure there will be lots of chatter yet.

Based on feedback so far, it looks like the focus of the eventual proposal will be on optional extension modules. I think it's a good way to proceed. If such a proposal were accepted it would provide a lot of concrete experience that would be informative to the bigger ideas about integrating Rust in the core.

discuss.python.org/t/pre-pep-r

#Python




Show Original Post


18.11.2025 21:22
habr (@habr@zhub.link)

За два дня после Хабра: PWA с офлайном, ветеринарный кабинет и сброс пароля

Два дня назад опубликовал статью про разработку приложения за 5 дней. За это время приложение выросло с версии 0.4.0 до 0.6.0 - добавил PWA с полноценным офлайн-режимом, кабинет для ветеринарных клиник и восстановление пароля. Сто шесть коммитов за два вечера после работы. Рассказываю как это было. Бэрримор, но как?

habr.com/ru/articles/967802/

#разработка #диабет #кошка #python #flask #+ #react #fastapi #pwa




Show Original Post


18.11.2025 21:10
lcheylus (@lcheylus@bsd.network)

LiteLLM: Python SDK and Proxy Server (AI Gateway) to call 100+ LLM APIs in OpenAI (or native) format, with cost tracking, guardrails, loadbalancing and logging #Python #LLM github.com/BerriAI/litellm




Show Original Post


18.11.2025 20:43
florichard44 (@florichard44@framapiaf.org)

#30DayMapChallenge - Jour 18 – Hors du monde

Carte d’un ciel nocturne, générée à l’aide d’un script Python qui dessine des étoiles placées aléatoirement de différentes tailles et couleurs. Quelques plus grosses étoiles forment des constellations.

#Python





Show Original Post


18.11.2025 19:52
theremin (@theremin@mastodon.art)

I was tripped by a footgun in #python (at least in version 3.11.2):

a = [2]
a[0 - 1]

I was trying to get the previous value, forgetting that sometimes there was only one value in the list.

However, instead of complaining that there is no item at index -1; it apparently interprets it as the last item in the list, and returns 2.

a[0 - 2] on the other hand, does throw an IndexError…




Show Original Post


18.11.2025 19:35
bbelderbos (@bbelderbos@fosstodon.org)

TIL that pyproject.toml might require one #Python version, but what you actually get also depends on the Python version(s) you have installed.




Show Original Post


1 ...967 968 969 970 971 972 973 974 975 976 977 ...1568
UP