Had a brief, but intensely frustrating couple of hours of work today.
I was trying to test things on Windows. It was painful. And suuuuch a waste of time.
After a jumping through one dumb hoop after another, the conclusion was this: My problem wasn't Windows! It was #Python! Updates fucking breaking things that used to work. Again.
I enjoy writing Python. I am invested in Python. All my big projects are Python.
Which I now see as a mistake. I should have left when they fucked Python 2.
I’ve been using #Python for 17 years now. Crazy.
And the 8 years before that, I did PHP. I felt more of a PHP expert in those 8 years than I feel like a Python expert now, after 17 years. Is it just the hubris of being young and naive, or is Python that more complex? Or just bigger?
Good point. My problem when I'm a tiny bit 'refreshed' is remembering the basics!
So yeah, sorry all, but how do I get started with this beast?!
@bytebro You should put a few hashtags in that. #Python
OK, I'm (again) seeking help on this Python stuff.
Just received the allegedly definitive book on Python, and the very first example in the book is basically this:
principal = 1000
rate = 0.05
numyears = 5
year = 1
while year <= numyears:
principal = principal * (1 + rate)
print ("{0:3d} {1:0.3f}",format (year, principal))
year +=1
And on my machine (python3 I believe) this fails on execution with:
Traceback (most recent call last):
File "/home/keith/bin/testing/test.py", line 7, in <module>
print ("{0:3d} {1:0.3f}",format (year, principal))
~~~~~~~^^^^^^^^^^^^^^^^^
TypeError: format() argument 2 must be str, not float
I mean, WTAF? The integer variable 'principal' gets multiplied by a floating value rate, and the following print fails because the result is not a floating value?
I might just go back to Perl, as I know how that works!
PBR Texture Generator Pro: Công cụ Python offline miễn phí giúp chuyển đổi hình ảnh thành bộ texture PBR sẵn sàng cho game ngay trên máy tính cá nhân, không cần đăng ký dịch vụ.
Tính năng chính:
- Tạo tự động các texture Base Color, Normal, Roughness...
- Chạy cục bộ, không cần kết nối mạng
- Xử lý hàng loạt và hỗ trợ GPU
- Xuất file PNG hoặc EXR
- Tạo texture không gián đoạn cho Unreal/Unity
- Có sẵn bản EXE hoặc mã nguồn Python
Lý tưởng cho studio indie và nhà phát triển game.
I'm working on the docs for the next version of inline-snapshot and I think you will love the new possibilities to create your snapshots. #Python

Abogado y programador experto en Python y NiceGUI. Impulso la innovación legal con soluciones tecnológicas efectivas. Transformo ideas en realidades pythónicas. #LegalTech #Python #Xiliux

Thanks @mathsppblog that's interesting 😊
So all you Python and Espresso lovers, see you in Bologna 🇮🇹
https://2026.pycon.it/en
#Python #Espresso #PyEspresso
RE: https://fosstodon.org/@henryiii/115866716612505517
Nice use of Pablo & co's new statistical profiler in Python 3.15!
https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sampling-profiler
On behalf of the packaging maintainers, I’d like to announce packaging 26.0rc1 is out! Support for pylock, import name metadata, writing metadata files, and so much more! Please try it out, as it's a huge release. If you'd like to read about the performance work making this the fastest version of packaging ever, see my post:
https://iscinumpy.dev/post/packaging-faster #python #release #packaging
Looks like #pyenv releases will now be more closely in sync with #CPython releases thanks to some newly implemented automation. That's great news!
Thanks to the devs for making this happen.
https://github.com/pyenv/pyenv/issues/2980