TIL You can remember PIL's crop argument order as top-left xy, bottom-right xy.
It is explained in the docs as (left, up. right, bottom), which isn't too memorable. So I had to keep looking it up (autocomplete is always random with if it wants to work today or not), until I realized that (left, up, right, bottom) is just the top-left xy and bottom-right xy of the bounding box, in that order.
Wanted to share a Python project I've been working on, Iceberg Accounting Suite
Hello, I just wanted to share a project I've been working on using PySimpleGUI and SQLite. It's called Iceberg Accounting Suite and like the name suggests it's a double-entry bookkeeping solution and I recently added pdf invoices, making it useful to individuals and small businesses (hopefully). Right now it's only configured for dollars but im working on configuring it for any currency, stay tuned.
My apologies if this is the wrong place to share. Thanks for checking it out!
Free threaded Python is here with 3.13 beta!
Python will get true threading support with the removal of the GIL (Global Interpreter Lock) in 3.13 (now available in the beta as an experimental option).
The GIL has long crippled Python's threading capabilities, but will be getting true parallelism with the implementation of PEP 703.
What are you gonna do with real threads? 🤔
https://docs.python.org/3.13/whatsnew/3.13.htmlOpen linkView original on lemmy.world


