#Python people, I have a question about names. In the following example, what do you call the first line of this function (everything from `def` through the colon)?
Followup question: When someone refers to the "function definition" does that make you think of the entire function, or just part of it?

The data explorer mapdata.py (https://pypi.org/project/mapdata/) has been updated to include Akaike's Information Criterion (AIC) and the Kullback-Liebler divergence as diagnostics for the non-negative matrix factorization (NMF) unmixing tool. Mapdata still determines the default number of unmixing end members by using the inflection point in Frobenius norm values. The new diagnostics provide metrics that may justify an alternative to the default.
#DataAnalysis #DataViz #Mapping #FLOSS #FOSS #Python
Dear #offline nerds and #commandline lovers: #offpunk 3.0-beta1 has been released.
https://lists.sr.ht/~lioploum/offpunk-users/%3CaYEc2YGe7H8ibcfk@carbon%3E
We need help with testing and translations. Don’t hesitate to come and say hello :
#geminiprotocol #gemini #smallweb #smolnet #gopher #python #cli
AAAH SNAKES.
* when is holiday? feat #uv: https://www.rostrum.blog/posts/2025-08-11-uv-standalone/
* note-taking #Python CLI thing: https://www.rostrum.blog/posts/2025-08-25-jot/
* more options in notey thing: https://www.rostrum.blog/posts/2025-08-30-jot-options/
* command-line 'slide decks', ppt ded: https://www.rostrum.blog/posts/2025-09-18-rich-slides/
* Python CLI 'tamagotchi': https://www.rostrum.blog/posts/2025-10-30-pet/
* cheerio my 'most important' #RStats project: https://www.rostrum.blog/posts/2025-11-30-turn-tables/
* yet more options in notey wotsit: https://www.rostrum.blog/posts/2025-12-28-jot-fib/
* a Python roguelike-like: https://www.rostrum.blog/posts/2026-02-01-tyle/

The reluctance of engineers to write documentation is a familiar cliché. It’s tedious, it doesn’t ship features, and there’s a belief that good code should explain itself.
Maybe I’m a fluke. Maybe I’ve just been burned often enough. Either way, I’ve come to see documentation as a stewardship responsibility, not busywork.
(Reflections about Chapter 6 of #HandsOn #SoftwareEngineering with #Python, available at https://tinyurl.com/HOSEWP2)

Taking the 'and' to be a logical operator, obviously 'No.' anded with anything is still 'No.'.
Except in #Python, of course.
(-:
#ComputerProgramming #logic #QuestionHeadlines
Stelvio: ship Python to AWS https://lobste.rs/s/2yk8ao #show #python
http://github.com/stelviodev/stelvio
S1 EP19 Lab 6 - Machine Learning in Python - Using Python Tuple Methods - in Python #pythoncoding #machinelearningtutorial #PythonForDataScience #dataengineering #mlforbeginners #datascience #algorithims #softwaredeveloper #machinelearning #statistics #learnpython #jupyterlabs #codingforbeginners #jupyternotebook #machinelearningmodels #vscode #learntocode #machinelearningbasics #python #datascienceforbeginners
Stelvio: Ship Python to AWS
https://github.com/stelviodev/stelvio
CPython — Сборка мусора изнутри, ч.4
Пришло время поговорить о главной функции сборщика мусора в CPython . В предыдущих частях ( 1 , 2 , 3 ) мы говорили о поколениях, инкрементальной и полной сборке мусора — но все они в итоге вызывают главную функцию, которая и реализует основной алгоритм циклического сборщика мусора — находит и разрывает циклы у объектов, которые уже вышли из использования. В первой статье на тему устройства сборщика мусора я написал, что история началась, когда я попробовал исправить ошибку в CPython . И вот, в четвёртой статье, я наконец‑то добрался до функции, в которой была ошибка. Если вам интересно, давайте посмотрим, как работает «сердце» сборщика мусора.
https://habr.com/ru/articles/992026/
#gc #garbage_collector #python #cpython #reference_counting
Invertir en tu conocimiento es la única apuesta segura 🚀
Por los próximos 5 días, todos los cursos de #JuncoTIC están al mejor precio en Udemy!
Si tenés ganas de dominar GNU/Linux, entender cómo funcionan las redes TCP/IP, o desarrollar sitios web con #Python y #Flask, esta es la oportunidad!
👇 Todos los cursos con el descuento acá:
Dudas? Otras formas de pago?
💬 info@juncotic.com
#Linux #SysAdmin #IT #python #ssh #nftables #iptables #tcpip #flask #wireshark

Python Tip #33 (of 365):
Don't sleep on Python's keyword arguments / named arguments.
When using the open() function, I recommend specifying the file mode with a keyword argument.
So instead of this:
open(path, "wt")
I recommend writing this:
open(path, mode="wt")
A reader can probably guess the meaning of "wt" more easily when it's specified as a keyword argument.
🧵(1/2)