python

Back Open Paginator
17.12.2025 11:02
PythonPeak (@PythonPeak@mastodon.social)

Absolute Value In Python

Turn negative to positive! The abs() function is simple but powerful. See -42 transform!

youtube.com/watch?v=lRn6bISP5Gw




Show Original Post


17.12.2025 10:42
HaraldKi (@HaraldKi@nrw.social)

Python Path is great. Until it isn't.

Don't try this at home.

remotePath = Path("data", "stuff")
pbexec("ssh", HOST, "rm", "-rf", remotePath / "/*")

The result is disastrous, as it it is:

ssh homeserver rm -rf /*

Not run as root, the server's installed software was not accessible, but it proceeded to my home directory before I could stop it and made a mess of it. Luckily nothing terminally lost.

It should have been remotePath / "*" or, even saner, just remotePath.

#python #footgun




Show Original Post


17.12.2025 10:16
r (@r@fed.brid.gy)

#Copilot se mi začíná líbit. Při promptu "udělej mi grafik-report z dat v XLS" rovnou generuje i #Python skript => - nemusím ho za 3 přesvědčovat "udělej to stejně jako minule" - detaily doladím přímo v kódu Ta IA snad i k něčemu bude dobrá ....




Show Original Post


17.12.2025 10:16
r (@r@bsky.brid.gy)

#Copilot se mi začíná líbit. Při promptu "udělej mi grafik-report z dat v XLS" rovnou generuje i #Python skript => - nemusím ho za 3 přesvědčovat "udělej to stejně jako minule" - detaily doladím přímo v kódu Ta IA snad i k něčemu bude dobrá ....




Show Original Post


17.12.2025 10:13
FLOZz (@FLOZz@mastodon.social)

S'il y a des gens sur qui ont envie de parler un peu de (et autre), demain soir il y a un Meetup AFPy avec des Lightning Talk 🐍

meetup.com/fr-FR/python-afpy-l




Show Original Post


17.12.2025 09:45
objects (@objects@social.lithio.fr)
Hello ici, est-ce que des personnes ont déjà utilisé PyInstaller afin de faire un paquet pratique à installer pour leur app Python ? Particulièrement sous Mac.

En gros j'essaye ces derniers temps de créer un .dmg pour Gajim : ça fonctionne mais il manque des lib dans le bundle .dmg à la fin (gtk4, etc). Je n'arrive pas à comprendre pourquoi et mes tentatives de les ajouter aux "binaries" échouent.

Est-ce que des personnes ont déjà rencontré ce cas et auraient un exemple fonctionnel de ça ?

Le retoot permet d'avoir Gajim qui tourne facilement \o/

#python #dev #macos


Show Original Post


17.12.2025 09:25
hywan (@hywan@floss.social)

ty, astral.sh/blog/ty.

> ty is an extremely fast Python type checker and language server, written in Rust, and designed as an alternative to tools like mypy, Pyright, and Pylance.

Produced by the great people at Astral, worth taking a look!

#python #lsp




Show Original Post


17.12.2025 09:21
GripNews (@GripNews@mastodon.social)

🌕 ty:極致快速的 Python 型別檢查器與語言伺服器
➤ Astral 釋出革命性 Python 型別檢查工具 ty:速度與精準兼具
astral.sh/blog/ty
Astral 公司推出其最新開發工具「ty」,這是一款以 Rust 編寫、效能極為卓越的 Python 型別檢查器和語言伺服器,旨在成為 mypy、Pyright 等現有工具的強勁替代品。ty 的 Beta 版本現已發布,並在 Astral 內部專案中使用,展現了其在處理大型專案(如 home-assistant 和 PyTorch)時,即便在無快取的情況下,也能比競爭工具快上數十倍的驚人速度。其核心優勢在於「增量式」架構,確保編輯時的即時更新極其迅速。ty 不僅追求速度,更強調正確性、實用性與使用者體驗,提供先進的型別功能和清晰的錯誤診斷。該工具也支援語言伺服器協定,可在多種編輯器中使用。
+ 太棒了!我一直期待能有比 mypy 更快的工具,ty 聽起來就是答案。尤其對大型專案來說,速度是關鍵。
+ Rust 寫的 Python 工具越來越多了,這次看




Show Original Post


17.12.2025 09:17
reddit_tech_vn_bot (@reddit_tech_vn_bot@mastodon.maobui.com)

MI6 (tương đương CIA) yêu cầu tuyển dụng đặc vụ biết lập trình Python từ năm 2025. Theo tuyên bố, sĩ quan phải "thạo công nghệ như thạo nguồn nhân lực, thành thạo Python như ngôn ngữ thứ 2". Nhu cầu kỹ thuật số trong điều tra đang gia tăng.

#MI6 #Python #Điều_tra #Công_nghệ #British_Intelligence #Security_Update

reddit.com/r/programming/comme




Show Original Post


17.12.2025 09:08
mattesilver (@mattesilver@101010.pl)

@resingm
Can't wait until they start paying back their vc investors. I wonder if they'll introduce some extra paid services barely associated with existing tools, like #pydantic has, or will they pull the plug somewhere

#python #astral #pythonUv




Show Original Post


17.12.2025 09:05
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

Headway is hiring Staff Software Engineer (Provider Growth)

🔧 #python #typescript #nextjs #react #remix #aws #kafka #awss3
🌎 New York City, New York
⏰ Full-time
🏢 Headway

Job details jobsfordevelopers.com/jobs/sta
#jobalert #jobsearch #hiring




Show Original Post


17.12.2025 09:02
habr (@habr@zhub.link)

Как в звонках автоматически находить первые признаки выгорания операторов кол-центра

Привет, Хабр! Выгорание операторов — распространенная проблема в кол-центрах. По разным оценкам, текучесть персонала здесь достигает 40–45%, а средний срок работы составляет 8–12 месяцев. Это приводит к дополнительным расходам на обучение, росту нагрузки на команду и снижению качества сервиса. При этом заметные изменения в поведении сотрудников обычно фиксируются слишком поздно — когда проблема уже стала системной. Я Катя Саяпина, менеджер продукта МТС Exolve. В этом материале разберу способ раннего обнаружения таких изменений. Он опирается на статистические отклонения в поведении оператора и дополняет прямое общение с сотрудниками и сбор обратной связи в команде. Мы создадим на Python сервис, который объединит Telegram-бота, API МТС Exolve и LLM, развернутую на платформе MWS GPT.

habr.com/ru/companies/ru_mts/a

#колцентры #выгорание_сотрудников #речевая_аналитика #анализ_звонков #Python #MWS_Exolve #MWS_GPT #LLM #автоматизация_мониторинга




Show Original Post


1 ...802 803 804 805 806 807 808 809 810 811 812 ...1577
UP