def ok_clicked(self,event):
msg='The spreadsheet must have data in 3 columns in the order of Roll No, Admission No, Name.'
msg+=' It assumes first row carries headings and student data begins only from the second row.Do you want to proceed ?'
dlg = wx.MessageDialog(self, msg,"Excel Format", wx.YES_NO | wx.ICON_QUESTION)
result = dlg.ShowModal()# == wx.ID_YES
if result==wx.ID_YES:
self.I=import_excel_operations(self,self.YEAR,self.CLASS,self.DIV)
self.I.do()
dlg.Destroy()
else:
self.Close()
评论列表
文章目录