Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(6)  |  Derive(0)  |  Import(1)

src/p/e/PEATDB-2.3/PEATDB/Ekin/IO.py   PEATDB(Download)
import csv
import tkFileDialog, tkMessageBox, tkSimpleDialog
from Dataset import EkinDataset
 
class Importer:
            for name in self.inrows_datasets.keys():
                y = [i for i in self.inrows_datasets[name]]
		datasets[name]=EkinDataset(xy=[x,y])
        else:
           #Data in Cols, do all files in file list
                               y.append(None)
                       name = cols[j]                      
		       datasets[name] = EkinDataset(xy=[x,y])
 
               else:
                       xerrs=[]; yerrs=[]
                   print xerrs, yerrs
		   datasets[showname] = EkinDataset(xy=[x,y],
                                                    xerrs=xerrs, yerrs=yerrs)
        #print 'datasets', datasets
 
            #datasets[resname] = EkinConvert.xy2ekin([x,y])
	    datasets[resname]=EkinDataset(xy=[x,y])
 
        return datasets