From: "Iñaki Baz Castillo" Date: 2012-03-14T01:41:54+09:00 Subject: Re: Any function similar to PHP's file_get_contents() ? 2012/3/13 Bartosz Dziewoński : > You need to require 'open-uri' first, then it will work. But > personally I never liked this style. Ok, then a simpler solution: document = open('http://www.google.com/').read :) -- Iñaki Baz Castillo