#NEWLINE# def file( self , address ) : #NEWLINE# #INDENT# ' Return a readable file-like object for the specified address. ' #NEWLINE# from .. _compat import urlopen , HTTPError #NEWLINE# try : #NEWLINE# #INDENT# f = urlopen ( ( 'http://' + f ) ) #NEWLINE# #UNINDENT# except HTTPError : #NEWLINE# #INDENT# raise NoSuchResourceError ( ( 'http:://' + address ) ) #NEWLINE# #UNINDENT# return f