def file(self, address):
        """ Return a readable file-like object for the specified address. """

        # Do the import here 'cos I'm not sure how much this will actually
        # be used.
        from .._compat import urlopen, HTTPError

        try:
            f = urlopen('http://' + address)

        except __HOLE__:
            raise NoSuchResourceError('http:://' + address)

        return f

#### EOF ######################################################################
dataset/ETHPy150Open enthought/envisage/envisage/resource/http_resource_protocol.py/HTTPResourceProtocol.file