Hacker News new | ask | show | jobs
by cbarrick 2009 days ago
The official docs say the same thing in fewer words:

https://docs.python.org/3/library/functions.html#print

I definitely recommend the official Python docs. They are well written, and you'll find lots of useful nuggets like this.

2 comments

I personally wish the official docs got a much heavier weighting in the search engines. I hate receiving crap from w3schools and dev.to over the actual good stuff. Stupid SEO crap, but it's a resume puff piece. I can't blame them for writing it.

It is a good article with some good examples, I just wish these kinds of articles didn't exist.

Don’t forget Tutorialspoint, which in my experience is way more endemic to Python PSL search results than every other SEO crap site. And unlike w3schools, it’s not even useful for a quick glance.
On rare occasions they'll rank for a concept that I need, but don't know exists. Things like the SAX pattern for XML. Which is somewhat useful.
If you already know what you want you can simply add "docs.python.org". It's more work but it's worth it.
This is not about you, or me, but about general public. When they search for something on general purpose search engines, the docs.python.org should rank higher, so they too can get quality information.

Why should I "you can simply" instead of search engine itself?

Dude, I was just providing a practical solution to an actual problem it seems to bother the GP.

You (we) have little control of how search engine works, so you can keep saying whatever you like, aren't' going to do a dang thing.

> You (we) have little control of how search engine works

Complaining on HN can sometimes work miracles.

Yes, but this article explained it in a more interesting way which makes it easier to remember.