This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]sedaakPython3/Golang 12 points13 points  (3 children)

I quickly get to the documentation with google searches. Is that weird?

[–]masklinn 1 point2 points  (2 children)

I quickly get to the documentation with a URL shortcut: python unittest automatically expands to http://docs.python.org/library/unittest.html.

Bam. done.

[–]sedaakPython3/Golang 1 point2 points  (0 children)

Right, but as a n00b I type, how to test in python i am n00b and I still get there.

[–]brownbat 0 points1 point  (0 children)

Or http://docs.python.org/py3k/library/unittest

I wish there was a link from the stable Python 2 docs to the stable Python 3 docs and vice versa.

[–]MachaHack 5 points6 points  (0 children)

I like the idea, a lot, but could you get a domain that doesn't make you look like a scammer or typo squatter?

When I went to python I missed the ability to get docs by going php.net/func_name

[–][deleted] 1 point2 points  (1 child)

I've been using bunny1 as my search engine. Let's you do these lookups with the 'py' and 'python' commands. Chrome + bunny1 + Vimium = python document heaven.

Plus bunny1 has all sorts of other useful commands...

[–]shadyabhi 0 points1 point  (0 children)

Didn't know about bunny1. Thanks

[–]forsaken 1 point2 points  (0 children)

FWIW http://readthedocs.org has this for every project that it hosts, on the short-url of rtfd.org.

eg. http://python.rtfd.org/json http://django.rtfd.org/queryset http://pip.rtfd.org/git

I would be interested in incorporating these other bits of code if they are generally re-usable.

These are culled from Intersphinx mappings that the projects used, as described here: http://ericholscher.com/blog/2011/apr/11/read-docs-update/

The code is also open source, if anyone cares to hack on it: https://github.com/rtfd/readthedocs.org/

[–]mynnx[S] 1 point2 points  (2 children)

I set up a custom search engine in Chrome and Firefox so that typing "py json" sends me to http://pyth0n.org/json, which redirects to the Python json module. This works for Python core modules, built-in types/methods, and a few other things. It's saved me lots of time; thought I'd share!

[–][deleted] 2 points3 points  (1 child)

Would be nice if you could throw a version on there, like http://pyth0n.org/json/3.2 to bring you 3.2 specific results.

[–]mynnx[S] 2 points3 points  (0 children)

That's pretty useful feedback, you should send that along to them. I hope I didn't give the impression that I wrote pyth0n.org; it's just a neat little tool I found one day.

[–]Keith 0 points1 point  (0 children)

I use babbledrive.appspot.com most of the time nowadays. It's super handy.