You don't have to remember this, instead remember `uv init --script myscript.py`

Thats the same thing?

I think the point is you don't have to memorize the boilerplate.

This isn't really boilerplate; it declares dependencies needed in the environment, which cannot in general be inferred from static analysis of the code.