Re:Python Print() and Beyond
by Something1234 on Sunday December 20, 2020 @11:33PM
(#25492154)
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.
Re:Python Print() and Beyond
by Something1234 on Sunday December 20, 2020 @11:50PM
(#25492224)
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.
Re:Python Print() and Beyond
by fireattack on Monday December 21, 2020 @01:11AM
(#25492531)
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?
Re:Python Print() and Beyond
by fireattack on Monday December 21, 2020 @03:27AM
(#25493107)
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.
Re:Python Print() and Beyond
by dvfjsdhgfv on Monday December 21, 2020 @09:00AM
(#25494977)
> You (we) have little control of how search engine works
Complaining on HN can sometimes work miracles.
Re:Python Print() and Beyond
by amingilani on Monday December 21, 2020 @05:55AM
(#25493783)
Yes, but this article explained it in a more interesting way which makes it easier to remember.
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.