示例#1
0
    def __init__(self, filename=None):
        if filename is None:
            self.fid = openAnything('')
        else:
            self.fid = openAnything(filename)

        self.parse_file()
示例#2
0
 def __init__(self,filename=None):
     if filename is None:
         self.fid=openAnything('')
     else:
         self.fid=openAnything(filename)
     
     self.parse_file()
示例#3
0
    def http(self):

        return openanything.openAnything("http://www.iana.org/assignments/language-subtag-registry").read()
示例#4
0
 def __init__(self,settingFile):
     dict.__init__(self)
     self._setFile = settingFile
     self._setContent = openAnything(settingFile).read()
     self.update(self.parse())
示例#5
0
 def http(self):
     return openanything.openAnything("http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt").read()
示例#6
0
 def http(self):
     return openanything.openAnything(
         "http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt").read(
         )
示例#7
0
    def http(self):

        return openanything.openAnything(
            "http://www.iana.org/assignments/language-subtag-registry").read()