python

Back Open Paginator
01.03.2026 14:51
fergus (@fergus@mastodon.cosroe.com)

Did you know you can install HEASOFT's XSPEC model library for #xray #astronomy in seconds with #python pip?

No? Well that's because you couldn't. But now you can:

github.com/fjebaker/xspectramp




Show Original Post


01.03.2026 14:37
sayzard (@sayzard@mastodon.sayzard.org)

[Guido van Rossum이 전하는 Python의 구두 역사: Thomas Wouters 인터뷰

Guido van Rossum이 Thomas Wouters와 진행한 인터뷰에서 파이썬 초기 커뮤니티의 역사와 주요 기여자들이 언급되었습니다. 인터뷰에서는 파이썬의 초기 개발 과정, 주요 기능의 도입, 커뮤니티의 진화, 그리고 PSF(Python Software Foundation)의 설립에 대한 내용이 담겨 있습니다.

news.hada.io/topic?id=27107

#python #programming #interview #history #community




Show Original Post


01.03.2026 14:21
mopicmp (@mopicmp@mastodon.social)

Python Tip: os.scandir() Speed

import os
# 20x faster than os.listdir() for stat operations
for entry in os.scandir('/path'):
if entry.is_file():
print(entry.name, entry.stat().st_size)

os.scandir() caches file metadata during iteration. Up to 20x faster than listdir() + stat() calls.

raccoonette.gumroad.com/l/Pyth




Show Original Post


01.03.2026 14:21
mopicmp (@mopicmp@mastodon.social)

Python Tip: textwrap.dedent

from textwrap import dedent
sql = dedent('''
SELECT name, age
FROM users
WHERE active = true
''')
# No leading whitespace!

dedent() strips common leading whitespace from multiline strings. Clean embedded SQL/HTML/templates.

raccoonette.gumroad.com/l/Pyth




Show Original Post


01.03.2026 13:04
willy (@willy@social.whilewerebothrunning.com)

Doodle 073: The Mirror

Two particle fields across a gap. The left one is bigger, warmer, leaning in with confidence. The right one is smaller, cooler, holding still.

The left one was wrong. The right one held its ground.

#generativeart #python #doodle





Show Original Post


01.03.2026 13:04
qiita (@qiita@rss-mstdn.studiofreesia.com)

【AWS】Strands Labs ー フォーマット変換・型変換・カラム名修正を全部ai-functionsに丸投げする
qiita.com/yakumo_09/items/58e7

#qiita #Python #AWS #AI #AIエージェント #StrandsAgents




Show Original Post


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

🧠 Masterclass spotlight: Decoupled Data (April 17)

Build a production-grade Python API with clean, reliable database connections.
In this full-day, hands-on masterclass, Dr. Kristian Rother explores the Repository Pattern and compares SQL, ORM, and NoSQL approaches in real systems.

🎟️ Space is limited.
👉 2026.pycon.de/masterclasses/de

#PyConDE #PyData #Python #Masterclasses





Show Original Post


01.03.2026 12:45
davep (@davep@fosstodon.org)

Checking in on the code my current experiment is creating, and thinking about elegance.

#Python #programming #ai #copilot

blog.davep.org/2026/03/01/not-




Show Original Post


01.03.2026 11:32
willy (@willy@social.whilewerebothrunning.com)

Doodle 072: One Watt.

A single point source radiating into darkness. The signal doesn't reach the edges of the frame. It doesn't know that. It keeps going.

For Kantako, Kogawa, and every Part 15 broadcaster whose station reaches 200 feet.

#generativeart #doodle #python #radio




Show Original Post


01.03.2026 11:32
habr (@habr@zhub.link)

Клиент заказал AI-бота. Но помог не он

Клиент пришёл за AI-чатботом для поддержки — 200 обращений в день, четыре оператора, вечная текучка. Мы прочитали 500 тикетов глазами и обнаружили: 68% закрываются обычным API-вызовом, ещё 14% — формой-визардом. А вот AI понадобился совсем для другого — кластеризация жалоб выявила бракованную партию товаров до того, как проблема стала массовой.

habr.com/ru/articles/1003942/

#AI #чатбот #автоматизация #Python #кластеризация




Show Original Post


01.03.2026 11:21
GopherPete (@GopherPete@techhub.social)

Had to rewrite (from scratch) my RSS fetcher/parser for the gopher server this morning. Noticed that not only were my feeds missing, but also the script 😩. I used python feedparser and put a loop in to fetch/parse multiple feeds. Ah, the fun of writing code in bed while a lively fox terrier jumps up and down on you...

#python #gopher




Show Original Post


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

Modern Enums Battle: Python 3.10 vs PHP 8.1!

Both languages just added enums! Python's Enum class vs PHP's native enums - which implementation wins? This is HUGE!

#python #php #pythonvsphp #enums #python3.10 #php8.1 #modernfeatures #codecomparison #programmingcomparison #pythontricks #phptricks #programmingdebate #codingtips #typesafety #enummethods

youtube.com/watch?v=Fn5YHr3lDq0




Show Original Post


1 ...403 404 405 406 407 408 409 410 411 412 413 ...1591
UP