What is the quickest way to HTTP GET in Python if I know the Content will be a string? I am searching the docs for a quick one-liner like:
contents = url.get("http://example.com/foo/bar")
But all I can find using Google are
- and I am unable to find a shortcut in those libraries.
Does standard Python 2.5 have a shortcut in some form as above, or should I write a function
- I would prefer not to capture the output of shelling out to