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:
https://github.com/fjebaker/xspectrampoline
[Guido van Rossum이 전하는 Python의 구두 역사: Thomas Wouters 인터뷰
Guido van Rossum이 Thomas Wouters와 진행한 인터뷰에서 파이썬 초기 커뮤니티의 역사와 주요 기여자들이 언급되었습니다. 인터뷰에서는 파이썬의 초기 개발 과정, 주요 기능의 도입, 커뮤니티의 진화, 그리고 PSF(Python Software Foundation)의 설립에 대한 내용이 담겨 있습니다.
https://news.hada.io/topic?id=27107
#python #programming #interview #history #community
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.
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
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.
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
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

【AWS】Strands Labs ー フォーマット変換・型変換・カラム名修正を全部ai-functionsに丸投げする
https://qiita.com/yakumo_09/items/58e733b16e96b255dfec?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Python #AWS #AI #AIエージェント #StrandsAgents
🧠 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.
👉 https://2026.pycon.de/masterclasses/decoupled-data-kristian-rother/
#PyConDE #PyData #Python #Masterclasses

Checking in on the code my current experiment is creating, and thinking about elegance.
#Python #programming #ai #copilot
https://blog.davep.org/2026/03/01/not-so-elegant.html
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
Клиент заказал AI-бота. Но помог не он
Клиент пришёл за AI-чатботом для поддержки — 200 обращений в день, четыре оператора, вечная текучка. Мы прочитали 500 тикетов глазами и обнаружили: 68% закрываются обычным API-вызовом, ещё 14% — формой-визардом. А вот AI понадобился совсем для другого — кластеризация жалоб выявила бракованную партию товаров до того, как проблема стала массовой.
https://habr.com/ru/articles/1003942/
#AI #чатбот #автоматизация #Python #кластеризация
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...
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
https://www.youtube.com/watch?v=Fn5YHr3lDq0