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)
Just released: Python 3.15.0a4 and look at those JIT numbers!
https://discuss.python.org/t/python-3-15-0-alpha-4/105706/1
#Python315 #Python #CPython #release
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)
@doctormo What ever happened to the Robin Hood ("take from the rich and give to the poor") spirit?
@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.
Anthropic invests $1.5 million in the Python Software Foundation and open source security
https://programming.dev/post/43977071
RE: https://wandering.shop/@xgranade/115887926400613460
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.
@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!
https://infosec.space/@kkarhan/115888989129801907
How to use try and except to avoid errors - S1 EP02 P3 #Python #LearnPython #PythonProgramming #VariablesInPython #PythonTutorial #PythonBasics #TechEducation #CodingBasics #CodeNewbie #S1EP01 #PythonSeries #LearnOnTikTok #TechTok #CodingTok #EducationTikTok #Programming101 #python #CodingForBeginners #ProgrammingSeries #CodeTutorial
Show HN: FastScheduler – Decorator-first Python task scheduler, async support
https://github.com/MichielMe/fastscheduler
🎹🚀 The pinnacle of innovation: a glorified #Python #synthesizer disguised as "revolutionary" #tech. 🌷🤖 Because who doesn't need a portable Tulip to complicate their musical and visual endeavors? 🌟🔬 Stop the presses—your GitHub repo now has more #buzzwords than an AI startup pitch. 📈🙄
https://github.com/shorepine/tulipcc #Innovation #Music #HackerNews #ngated
📘ĐỌ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