Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make google search results default to python3 docs

I like to use google when I'm searching for documentation on things related to python. Many times what I am looking for turns out to be in the official python documentation on docs.python.org. Unfortunately, at time of writing, the docs for the python 2.x branch tend to rank much higher on google than the 3.x branch, and I often end up having to switch to the 3.x branch after loading the page for the 2.x documentation. The designers of docs.python.org have made it easy to switch between python versions, which is great; but I just find it annoying to have to switch python versions and wait an extra page load every time I follow a link from google.

Has anyone has done anything to combat this? I'd love to hear your solutions.

Here's what I've tried so far:

  • clicking on the python 3.x link farther down - this works sometimes, but often the discrepancy in ranking between 2.x and 3.x results is quite big, and the 3.x things are hard to find.
  • copying the url from the search result and manually replacing the 2 with 3 - this works but is also inconvenient.
like image 513
Michael Hewson Avatar asked Feb 18 '16 17:02

Michael Hewson


1 Answers

Often when searching for Python stuff, I add the search term "python" anyway because many names refer to entirely different things in the world as well. Using "python3" here appears to solve your problem. I also feel it a lot less unobtrusive than the hacks you describe.

like image 153
Thomas Lotze Avatar answered Sep 18 '22 17:09

Thomas Lotze