Ask HN: What are some of the better Python blogs?

7 points by leksak ↗ HN
I'm working on a Python project right now and time and time again I keep discovering that there are far easier ways to do things than what I've done.

Where can I find some good blogs or similar that write about Python and Pythonic ways to do things?

Presently discovering so many ways I could use pytest more efficiently than I already was doing.

Would love to discover what else I'm missing out on, had I known about:

pandera pydantic (omg, BaseSettings!) requests_mock pytest_cases __post_init__ (dataclasses) kw_only (dataclasses) (potentially) hamilton vulture isort (although I really wish I'd remove unused imports)

earlier I believe I could've saved a lot of time, and some bugs.

Things that already were on my radar,

Poetry (this was maybe a mistake to use tbh) mypy + plugins black flake8 hypothesis

Presently I'm looking for a clean way to use GraphQL around InfluxDB.

4 comments

[ 1.1 ms ] story [ 23.4 ms ] thread
These days I just ask ChatGPT: “What is the best way to do X in Python?”
I think this is good for the scenario where python is not your main language, but you have to use it occasionally and just want to get shit done.

Whereas I think training python code through the neural net behind your eyes will be more efficient in the long run if you expect to do a lot of python.

I usually find pycon videos to be more helpful on various topics.