python

Back Open Paginator
13.01.2026 20:15
uvok (@uvok@woof.tech)

Why can't the Jedi Python language server in VScode-OSS show me import hints, but Pylance can?
(I config'ed "python.languageServer": "Jedi", and installed jedi-language-server, and it is running)

#vscode #python




Show Original Post


13.01.2026 19:56
hugovk (@hugovk@mastodon.social)

Just released: Python 3.15.0a4 and look at those JIT numbers!

discuss.python.org/t/python-3-




Show Original Post


13.01.2026 19:43
treyhunner (@treyhunner@mastodon.social)

Python Tip #13 (of 365):

Copy iterables with the list() constructor.

Need to make a new list out of an existing iterable, without changing anything?

Don't use a "for" loop, a comprehension, slicing, or the copy method.

Use list()!

Instead of this:
new_rows = [r for r in rows]

Or this:
new_rows = rows[:]

Or this:
new_rows = rows.copy()

Or even:
new_rows = [*rows]

Prefer this:
new_rows = list(rows)

Why?

Because using list() makes the output clearer.

🧵(1/3)




Show Original Post


13.01.2026 19:06
downey (@downey@floss.social)

@doctormo What ever happened to the Robin Hood ("take from the rich and give to the poor") spirit?

#Python #PSF




Show Original Post


13.01.2026 18:58
feoh (@feoh@oldbytes.space)

@brettcannon The work the JIT folks are doing is just heroic (and I'm not hyperbolizing for a change).

When you amortize these 2, 3 and 5% speed improvements across the millions of #python interpreters chugging along on planet earth (and in space for that matter!) the numbers really start to add up.




Show Original Post


13.01.2026 18:58
post (@post@programming.dev)

Anthropic invests $1.5 million in the Python Software Foundation and open source security

programming.dev/post/43977071




Show Original Post


13.01.2026 18:57
doctormo (@doctormo@floss.social)

RE: wandering.shop/@xgranade/11588

The PSF have enough reputation with me personally that I'm not concerned.

If you have the opportunity to steal a couple of million from the Barrons and in turn offer them basically nothing. then that is *good actually*

It would be useful to scrutinise the text of the agreement as that is where the legal traps are that would force the PSF to do silly things that harm the community.

i.e. Take their money and damn their eyes.

#python #psf #anthropic




Show Original Post


13.01.2026 18:35
kkarhan (@kkarhan@infosec.space)

@thecyberwitch @Daojoan Or even better (if financially feasible): Get them the #Pi400 Kit with manual and let them fiddle with #Python.

Since it's an #ARM64+#Linux machine, they can't install #PayToLoose bs like #Fortnite and #Roblox or #Govware / #Malware like #Windows!

infosec.space/@kkarhan/1158889




Show Original Post


13.01.2026 18:27
TechKeysX (@TechKeysX@mastodon.social)

How to use try and except to avoid errors - S1 EP02 P3





Show Original Post


13.01.2026 18:26
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

Show HN: FastScheduler – Decorator-first Python task scheduler, async support

github.com/MichielMe/fastsched




Show Original Post


13.01.2026 18:21
ngate (@ngate@mastodon.social)

🎹🚀 The pinnacle of innovation: a glorified disguised as "revolutionary" . 🌷🤖 Because who doesn't need a portable Tulip to complicate their musical and visual endeavors? 🌟🔬 Stop the presses—your GitHub repo now has more than an AI startup pitch. 📈🙄
github.com/shorepine/tulipcc




Show Original Post


13.01.2026 18:14
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

📘ĐỌC NGAY: "PYTHON FUNDAMENTALS" - Từ Cơ Bản đến Ứng Dụng Thực Tế!

Sách dạy Python theo cách thực chiến:
- Cấu trúc theo vấn đề thực tế 💼
- Bài tập từ biến, nhập liệu, rẽ nhánh
- Vòng lặp, quản lý dữ liệu, hàm
- Xây dựng ứng dụng bán hàng hoàn chỉnh
- Ví dụ chi tiết + mini project mỗi chương

Hoàn thành sách bạn sẽ:
✔️ Viết script Python sạch
✔️ Sẵn sàng học Django/AI
✔️ Tự động hóa công việc

#Python #LậpTrình #PythonCơBản #HọcPython
#Coding #Programming #PythonBasics #LearnPython




Show Original Post


1 ...658 659 660 661 662 663 664 665 666 667 668 ...1584
UP