python

Back Open Paginator
12.02.2026 14:32
shaharyarranjah1 (@shaharyarranjah1@mastodon.social)

The map() function in Python is used to apply the same operation to every item in a list or any other iterable
Instead of writing a loop, map() lets you transform data in one line
For example, if you have a list of numbers and you want to square all of them, map() will take your function and run it on each element automatically, returning a new result
In simple words
map() = take a function + apply it to everything in a collection





Show Original Post


12.02.2026 14:22
habr (@habr@zhub.link)

От простого бота к самообучающемуся интеллекту: эволюция ИИ-агентов для бизнеса

Пролог: Почему бизнесу нужна эволюция, а не революция Представьте сцену: Вы запускаете первый ИИ-агент для поддержки клиентов. Первые две недели — восторг. "Он отвечает! Он работает!" Месяц спустя — разочарование. "Он повторяет одни и те же ошибки. Не умеет работать со сложными запросами. Требует постоянного контроля". Знакомо? Это классическая история "пилотного проекта, который не масштабируется" . Моя команда прошла этот путь. Мы потратили 18 месяцев на эволюцию от примитивного бота до системы, которая: Самостоятельно обрабатывает 85% сложных запросов Снизила операционные затраты на 40% Еженедельно улучшает свои показатели на 3-5% без вмешательства разработчиков В этой статье я покажу конкретные шаги этой эволюции с кодом, схемами и бизнес-обоснованиями. Вы узнаете не "как сделать крутого ИИ", а "как построить систему, которая сама становится круче" .

habr.com/ru/articles/995860/

#ии_агенты #ии_чатбот #ииинжиниринг #python #rag




Show Original Post


12.02.2026 13:58
OpenAIRE (@OpenAIRE@mastodon.social)

Turn your browser into a powerful research workstation.

With the service, you can write code (, R), add notes, and create plots, all in one reproducible document. Built on for .

🔗 go.egi.eu/Vkk7Y





Show Original Post


12.02.2026 13:41
geraldew (@geraldew@fosstodon.org)

In writing Foldatry, I committed to keep to using just stock modules/libraries.

But I suspected I'd added something non-stock so I went through the code and listed them all - thus:

- collections, copy, enum, filecmp, fnmatch, getopt, hashlib, itertools, json, logging, math, mmap, operator, os, pathlib, platform, psutil, queue, random, re, shutil, stat, struct, subprocess, sys, threading, time, tkinter

Turns out the culprit was:
- psutil - pypi.org/project/psutil/
#Python




Show Original Post


12.02.2026 13:28
TechKeysX (@TechKeysX@mastodon.social)

Custom sort lists using key= in Python explained - S1 EP03 P9 -





Show Original Post


12.02.2026 13:00
pyconde (@pyconde@fosstodon.org)

🚨 Call for On-Site Volunteers — deadline February 15

We’ve received many great applications already 🙌
If you’re still thinking about joining the PyCon DE & PyData 2026 team, there are just a few days left to apply.

Help make the conference happen, meet the community, and get a free ticket 🎟️
👉 2026.pycon.de/blog/call-for-vo

#PyConDE #PyData #Python #Community #Volunteers





Show Original Post


12.02.2026 12:39
LisaHornung (@LisaHornung@fosstodon.org)

It's Winter Olympics time which means 16+ days packed with sports. And if you're into Curling and Ice-Hockey, you can even watch competitions daily.

Quick #dataviz for #TidyTuesday week 6, made with #Python #matplotlib.

Full code github.com/Lisa-Ho/small-data-





Show Original Post


12.02.2026 11:17
MadMike77 (@MadMike77@chaos.social)

I've been looking into creating a little web application based on #python. It should come with creating basic html widgets so I don't need to deal with javascript sutff and come with SQL-DB connectors.
#Django seemed to fit my need but seems to be a bit big. I've also taken a look at turbogears, but I'm not sure if that project is still alive.
So I'd appreciate any hints thanks.




Show Original Post


12.02.2026 11:10
TurboLearnPHP (@TurboLearnPHP@mastodon.social)

List Unpacking in Function Calls: The * Operator TRICK!

Python's * and ** unpacking vs PHP's spread - which language makes function calls easier? WTF!

#php #python #phpvspython #unpacking #spreadoperator #argskwargs #variadicfunctions #viralcoding #pythontricks #phptricks #mindblown #codingtricks

youtube.com/watch?v=Y-Ots-eneyo




Show Original Post


12.02.2026 11:01
PythonPeak (@PythonPeak@mastodon.social)

Bare Except Catches SystemExit Preventing Graceful Shutdown?!

EXCEPT DISASTER! Bare except swallows SystemExit! Process won't die! Force kill corrupts 2,300 payments! $4.7M phantom charges! Payment team FIRED!

youtube.com/watch?v=fwnRVyhEGqY




Show Original Post


12.02.2026 10:51
aiwithharsh (@aiwithharsh@techhub.social)

📁 100+ Python Code Snippets Library — FREE DOWNLOAD

I built a collection of Python snippets I use daily:

🐍 File handling
🌐 API calls
⚡ List comprehensions
🔍 Regex patterns
🐼 Pandas tricks
📁 OS module
📊 JSON/CSV
⏰ DateTime
✂️ String manipulation
🤖 Automation

🔗 Direct download (no login):
mediafire.com/file/7x9d3z5p6y8

☕ Support here (even ₹9 helps):
buymeacoffee.com/harsh2644/100

#Python #Coding #100DaysOfCode #FreeResources




Show Original Post


12.02.2026 10:37
pythonrennes (@pythonrennes@social.breizhcamp.org)

Quelques actus sur l'écosystème Python
- Python 3.15 proposera des dictionnaires immuables : discuss.python.org/t/pep-814-a
- présentation intéressante du Fosdem 2026 sur les registries (fosdem.org/2026/schedule/event, michaelwinser.github.io/packag) : @pypi est le 3e dépôts en nombre de téléchargements / mois (après npm et maven), mais le 1er en bande passante. Sans doute parce que nombre de paquets calculatoires (numpy, polars, pytorch, tensorlow, etc.) embarquent des binaires

#Python #écosystème #PEP #FOSDEM




Show Original Post


1 ...495 496 497 498 499 500 501 502 503 504 505 ...1589
UP