コード例 #1
0
ファイル: window.py プロジェクト: BackSlasher/opengridview
 def read_stream(self):
   parser = Parser.find_parser(self.input_config)
   parser.read_stream(
           self.input_stream,
           lambda item: GObject.idle_add(self.add_item, item),
           lambda headers: GObject.idle_add(self.set_headers,headers)
           )
コード例 #2
0
ファイル: autosplit.py プロジェクト: BackSlasher/opengridview
 def __init__(self,config):
   Parser.__init__(self,config) # Base
   if config.has_key('separator'):
     self.separator = config['separator']
   else:
     self.separator = '\s+'
コード例 #3
0
ファイル: csvp.py プロジェクト: BackSlasher/opengridview
 def __init__(self,config):
   Parser.__init__(self,config) # Base
   self.headers = None
コード例 #4
0
ファイル: linejson.py プロジェクト: BackSlasher/opengridview
 def __init__(self, config):
     Parser.__init__(self, config)  # Base