def savefile(self,filepath=''):
        
        if self.isempty(): raise Exception('Empty table')
        #open a file
        fn=os.path.join(filepath,self.get_name()+'.xls')
        f=open(fn,'w')
        
        f.write(self.to_xls())
        
        #close the file
        f.close()
Store the table as a xls file (tab-delimited)
dataset/ETHPy150Open taoliu/taolib/Assoc/tables.py/Table.savefile