python

Back Open Paginator
14.10.2025 16:14
miketheman (@miketheman@hachyderm.io)

Does your org run a self-managed version of GitLab and publish your own #Python packages to @pypi ?

If you want to try out an alpha of Trusted Publishing for GitLab Self-Managed instances, let me know via DM - I'm collecting interest now, and should have something to show soon.




Show Original Post


14.10.2025 16:02
habr (@habr@zhub.link)

Декораторы в Python для начинающих с домашним заданием

Привет, Хабр! Если вы работаете с Python дольше пары недель, вы наверняка сталкивались с конструкцией, начинающейся с символа @. Это декораторы — мощный инструмент, который делает код чище, читабельнее и соответствует принципу DRY (Don't Repeat Yourself). Но за элегантным синтаксисом скрывается несколько ключевых концепций языка, которые важно понимать.

habr.com/ru/articles/956494/

#декоратор #python #пайтон #Python_декоратор #python3 #python_class #python_tutor




Show Original Post


14.10.2025 15:55
hn50 (@hn50@social.lansky.name)

Pyrefly: Python type checker and language server in Rust

Link: pyrefly.org/?featured_on=talkp
Discussion: news.ycombinator.com/item?id=4

#rust #python




Show Original Post


14.10.2025 15:51
onokoto (@onokoto@mastodon.social)

On most distros Python🐍 has a http server out of the box.

simply <cd> into the directory of your choice and execute the following command:

~λ python3 -m http.server 8080





Show Original Post


14.10.2025 15:45
hugovk (@hugovk@mastodon.social)

Thanks to @ambv for this important addition to the 3.14 -> 3.15 meme folder.





Show Original Post


14.10.2025 15:30
lobsters (@lobsters@mastodon.social)

Django bulk_update memory issue via @paulox lobste.rs/s/kfspok
blog.pecar.me/django-bulk-upda




Show Original Post


14.10.2025 15:26
neonpie (@neonpie@mas.to)

#Python bindings for tauri, really cool stuff #webdev #desktopdev #dev

github.com/pytauri/pytauri




Show Original Post


14.10.2025 15:17
GripNews (@GripNews@mastodon.social)

🌗 Pyrefly:快速的 Python 類型檢查器與語言伺服器
➤ 讓 Python 類型檢查與 IDE 功能更上一層樓
pyrefly.org/?featured_on=talkp
Pyrefly 是一款專為 Python 設計的高效類型檢查器與語言伺服器,旨在提升開發者體驗。它能以極快的速度完成程式碼的類型檢查,並提供即時的錯誤回饋和自動補全功能,顯著增強程式開發效率。Pyrefly 在效能上表現突出,能處理大規模程式碼庫,並在同類工具的比較中展現出優勢,為開發者帶來更流暢、更具信心的程式碼編寫體驗。
+ 這個工具聽起來很棒,特別是對於大型專案,速度提升會是關鍵。我會立刻試試看!
+ 太好了!我一直在尋找一個能同時提供類型檢查和優秀 IDE 整合的解決方案,Pyrefly 似乎正好符合需求。




Show Original Post


14.10.2025 15:03
driscollis (@driscollis@mastodon.social)

How to convert a CSV file into a dictionary using 🐍🔥

Technically, DictReader will turn each line of the CSV file into a dictionary, which can be very nice





Show Original Post


14.10.2025 14:58
display (@display@libranet.de)

I've been annoyed by my lack of a way to put "multi-line one-liner" python code into my bash code with reasonable indentation.

This discussion suggested a workaround: Make the first line `if 1:`, then you can indent all you like on the second line. Good enough for me!

discuss.python.org/t/allowing-…

#python #CodeGolf #PythonCodeGolf




Show Original Post


14.10.2025 14:47
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

PyreFly: Python type checker and language server in Rust

pyrefly.org/?featured_on=talkp




Show Original Post


14.10.2025 14:45
h4ckernews (@h4ckernews@mastodon.social)

PyreFly: Python type checker and language server in Rust

pyrefly.org/?featured_on=talkp




Show Original Post


1 ...1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 ...1560
UP