def __init__(self, filename=None): if filename is None: self.fid = openAnything('') else: self.fid = openAnything(filename) self.parse_file()
def __init__(self,filename=None): if filename is None: self.fid=openAnything('') else: self.fid=openAnything(filename) self.parse_file()
def http(self): return openanything.openAnything("http://www.iana.org/assignments/language-subtag-registry").read()
def __init__(self,settingFile): dict.__init__(self) self._setFile = settingFile self._setContent = openAnything(settingFile).read() self.update(self.parse())
def http(self): return openanything.openAnything("http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt").read()
def http(self): return openanything.openAnything( "http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt").read( )
def http(self): return openanything.openAnything( "http://www.iana.org/assignments/language-subtag-registry").read()