python

Back Open Paginator
11.08.2025 14:56
stevenaleach (@stevenaleach@sigmoid.social)

I really miss when #Python was readable and made sense. More and more of what I see is language stuff from the many years past when I first learned it, and I absolutely can't read or understand it at all. Take this beauty:

with open(script_dir / 'prompt' / f'{LANGUAGE}-{PROMPT_TYPE}.json', 'r', encoding='utf8') as json_file:

Apparently '/' is overloaded by Pathlib and that's not just gibberish.

But totally not readable either.

I see var divided by string divided by string and say no.




Show Original Post


11.08.2025 14:23
heikkiket (@heikkiket@social.linux.pizza)

@GerryT
Nice list you have there.

I'm using #Python when developing for #Gnome and #GTK but am more interested about whys from different people actually.

For me, the pretty vast documentation about how to develop apps for #Linux desktop with Python was one of the main selling points. And Python as a language is easy and nice.




Show Original Post


11.08.2025 14:06
grobi (@grobi@defcon.social)

wispr-analysis

github.com/svank/wispr_analysis
svank.github.io/wispr_analysis/

#space #code #python #science #astronomy #astrophysics #tech #NASA




Show Original Post


11.08.2025 13:59
grobi (@grobi@defcon.social)

AutoWISP

Kaloyan Penev, Angel Romero and S. Javad Jafarzadeh have developed a software pipeline, AutoWISP, for extracting high-precision photometry from citizen scientists' observations made with consumer-grade color digital cameras (digital single-lens reflex, or DSLR, cameras), based on their previously developed tool, AstroWISP. The new pipeline is designed to convert these observations, including color images, into high-precision light curves of stars.

"We outline the individual steps of the pipeline and present a case study using a Sony-alpha 7R II DSLR camera, demonstrating sub-percent photometric precision, and highlighting the benefits of three-color photometry of stars. Project PANOPTES will adopt this photometric pipeline and, we hope, be used by citizen scientists worldwide. Our aim is for AutoWISP to pave the way for potentially transformative contributions from citizen scientists with access to observing equipment."

Code site:
+ AutoWISP
github.com/kpenev/AutoWISP
+ Documentation:
kpenev.github.io/AutoWISP/

+ AstroWISP
github.com/kpenev/AstroWISP
pypi.org/project/astrowisp/

#space #code #python #astrophotography #photography #science #astronomy





Show Original Post


11.08.2025 11:29
emilyselect (@emilyselect@mastodon.social)

無料で学べるJavascript勉強法。変数を変えてみよう。

emilyselect.com/%e7%84%a1%e6%9





Show Original Post


11.08.2025 11:01
offseq (@offseq@infosec.exchange)

🔥 CVE-2025-8747 (HIGH) in Google Keras 3.0.0–3.10.0: Unsafe deserialization in Model.load_model enables arbitrary code exec if a malicious .keras file is loaded. Validate all models & use sandboxing. Details: radar.offseq.com/threat/cve-20 #OffSeq #Vuln #MLSec #Python #CVE2025_8747





Show Original Post


11.08.2025 10:33
localizethedocs (@localizethedocs@floss.social)

🎉 python-docs-l10n is published!

🚀 Preview:

projects.localizethedocs.org/p

🌐 Crowdin:

localizethedocs.crowdin.com/py

🐙 GitHub:

github.com/localizethedocs/pyt

#Crowdin #GitHub #Sphinx #Python




Show Original Post


11.08.2025 10:30
PyConUK (@PyConUK@fosstodon.org)

👾✨ Know a young person who’s curious about coding? ✨👨💻

On Saturday 20 Sept, PyCon UK 2025 is hosting a Young Coders’ Day alongside the main conference – a fun, hands-on intro to coding for people aged 8–16!

They’ll have the opportunity to 🎮 build games, 🎨 create art, 🛰️ code satellites, and share their projects with #PyConUK2025 attendees 🎉🐍

📅 Schedule: 2025.pyconuk.org/schedule/
🎫 Tickets £9 (inc. accompanying adult): 2025.pyconuk.org/tickets/

#YoungCoders #Python #LearnToCode #Python




Show Original Post


11.08.2025 10:06
WorldsSwirling (@WorldsSwirling@allovertheplace.ca)

Mystavaria MUD is out in alpha and we are enjoying it.
A new MUD built in Avenia. The first semi public Avenia mud we've seen.
mystavaria.com port 4000
Please understand what alpha means before you create... this is Fedi, and we probably need to explain this less here than we do most places, but alpha means buggy, weird, and wacky, just in case. :P
Want a fantasy mud but tired of them and want a twist? This one has dream mechanics, you don't just wait when you sleep, and in fact, there are better methods for regen than that. Even early, don't sleep to regen. Sleep is for doing other stuff.
#fantasy #MUDs #games #gaming
#blind because sadly that's most of the playerbase for muds etc. these days...not sad that we're the main audience, but sad hardly anyone but the most ancient of non-blind gamers are still interested
#Avenia #Python because that's the base language of Avenia, and a few coders with time on their hands and a gaming interest may have some curiosity about a Python based MUD




Show Original Post


11.08.2025 09:15
hazadus (@hazadus@fosstodon.org)

Глубокий обзор фреймворка Litestar от разработчика Django. Аж захотелось тоже попробовать!

b-list.org/weblog/2025/aug/06/

#try, #python, #webdev, #litestar, #programming




Show Original Post


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

TY — не thank you, а быстрый type checker для Python

Всем привет! Меня зовут Иван, я программирую на Python, а в свободное время пишу для блога МТС. В прошлый раз поделился опытом , как я осваивал Go и с чем у меня были сложности. Спасибо всем, кто читал и комментировал! Сегодня хочу обсудить мегабыстрый инструмент для проверки типов данных Python — ty: как он устанавливается и используется, какие есть правила и нюансы, а еще посмотрим, как можно его применять. Приступим!

habr.com/ru/companies/ru_mts/a

#python #программирование #type_checking #ty #разработка




Show Original Post


11.08.2025 09:02
gnulinux (@gnulinux@social.anoxinon.de)

Python: Schneller als man denkt

Beginn einer Artikelserie zum Thema schneller Python Code. Eine Einführung mit einer Auflistung verschiedener Strategien die verglichen werden.

#Python #Cython #Numpy #Numba #Linux

gnulinux.ch/python-schneller-a




Show Original Post


1 ...1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 ...1546
UP