First post in 2026 and we're cutting spritesheets like cookies with #Pillow and #Python 🍪 I needed this for a future project on the blog, maybe you will get some use, too!
https://sethmlarson.dev/cutting-spritesheets-like-cookies-with-python-and-pillow
#pixelart #sprites #spritesheet #retrogaming
FileMate Explorer - Trình duyệt tập tin siêu nhẹ bằng Python! 🚀
📌 Hướng dẫn tạo ứng dụng quản lý tập tin với Tkinter:
▫️ Duyệt, mở tập tin/thư mục
▫️ Copy/Paste/Xoá/Đổi tên
▫️ Tạo thư mục mới
▫️ Kéo-thả tập tin vào thư mục
▫️ Tuỳ chỉnh sáng/tối
▫️ Menu chuột phải tiện lợi
Hoàn toàn bằng Python cùng tkinter + sv_ttk. Tự công cụ quản lý tập tin cực kỳ hữu ích!
#Python #PythonProgramming #FileManagement
#ThuMuc #PythonTiếngViệt #LậpTrìnhPython #QuảnLýTậpTin #TkinterGUI #Dar
V - S1 EP14 Lab 5 - Machine Learning in Python - Calling Getter Properties - Conversion Flags #learnpython #learntocode #pythoncoding #vscode #dataengineering #codingforbeginners #machinelearningbasics #jupyterlabs #python #statistics #machinelearningtutorial #mlforbeginners #machinelearningmodels #datascienceforbeginners #softwaredeveloper #datascience #PythonForDataScience #machinelearning #jupyternotebook #algorithims
Hey #NeoVim users, how many plugins are you currently using?
I just realized, all told I have roughly 70 installed and configured (though much of that is from LazyVim). I use nvim for essentially everything I can, but lately it's a lot of #Python, #Ansible, #bash, #hcl, #markdown. (just normal sysadmin stuff)
Things still feel quite snappy and I really do use most of them actively. But it got me curious what everyone else has cooking.
#NeoVim #LazyVim #Plugins #Poll #Extensions #VSCodeSucks #sysadmin #Linux #IDE
I noticed something in this last year when I code in python. When attempting to get something from a dictionary instead of doing dict['key'] I am utilizing more dict.get('key').
I think I like that more because it doesn't error, under the dict.get('key') it will just return None if it doesn't exist, or you can set a value if it fails such as dict.get('key', 'value')
Weird how some of my coding changes over time.
Mi primer CRUD con Python https://myblog.clonbg.es/mi-primer-crud-con-python/ #Programación #Python #PyQT https://clonbg.es

Ich möchte für ein einfaches #gamedev #python eine Matrix aus x*y Kacheln erschaffen, die durch Wege verbunden sind. In einem 3x3 Grid zB hat die mittlere Kachel 4, die Eckkacheln haben 2. Gleichzeitig ist der Ausgang einer Kachel der Eingang zu einer anderen: wenn sich Kachel A nach oben zu Kachel B öffnet, muss diese zwingend einen Übergang nach unten haben. Wie kann ich Wegnetze generieren, in denen jede Kachel über mindestens einen Weg erreichbar ist? #mathe
Want to make #Python numbers more readable? Use _ between digits (not at the start or end):
x = 1_000_000
y = 2_000
z = 1_000.234_567
🌘 每個程式設計師都該知道的 Python 性能指標
➤ 從奈秒到百萬位元組:Python 開發者的效能生存指南
✤ https://mkennedy.codes/posts/python-numbers-every-programmer-should-know/
這篇文章為 Python 開發者提供了一份詳盡的性能參考清單,涵蓋了從基礎運算、記憶體消耗到 Web 框架速度的各項數據。作者 Michael Kennedy 透過在最新的 CPython 3.14 環境中進行基準測試,揭示了 Python 物件背後的真實成本。例如,即便是一個空字串也會佔用 41 位元組,而使用 `__slots__` 則能顯著降低類別實例的記憶體負擔。這份指南不僅能幫助開發者在撰寫高性能代碼時做出更明智的數據結構選擇,也釐清了許多關於 Python 執行效率的常見迷思。
+ 這份數據非常及時!特別是關於 `__slots__` 在大規模實例下的記憶體節省效果,這對於處理大數據集的後端服務來說至關重要。
+ 看到 FastAPI 與 Starlette 的性能表現依然強勁並不意
#Python 性能優化
Python Numbers Every Programmer Should Know
https://mkennedy.codes/posts/python-numbers-every-programmer-should-know/
#HackerNews #Python #Programming #Programmer #Tips #Coding #Knowledge #Tech #Skills
📝🐍Шпаргалка з #Python 👇
🔹цикли while і for
🔹керування циклами
🔹введення та виведення
🔹робота з контейнерами, списками, словниками, множинами, рядками, файлами
🔹визначення та виклик функцій
🔹діапазони range і базові правила форматування

Python Numbers Every Programmer Should Know
https://mkennedy.codes/posts/python-numbers-every-programmer-should-know/