Beispiel #1
0
 def run(self):
     # just to see the waiting interface...
     time.sleep(1.0)
     if self.url.scheme() == 'numpy':
         self.data = numpy.load(self.url.file_path())
     else:
         self.data = get_data(self.url)
Beispiel #2
0
 def run(self):
     try:
         self.data = get_data(self.url)
     except IOError:
         self.data = None