def send_sms(self):
print "sending",self.NO_MOBILE_LIST
if self.NO_MOBILE_LIST:
msg="The following Student(s) got no valid mobile numbers. Go to Student Profile to add/edit mobile numbers\n"
no=0
for pupil in self.NO_MOBILE_LIST:
no+=1
msg+=str(no)+". "+str(pupil)+"\n"
#app = wx.PySimpleApp(0)
dlg = wx.MessageDialog(None, msg,"No Mobile Number",wx.OK | wx.ICON_INFORMATION)
dlg.ShowModal()
dlg.Destroy()
评论列表
文章目录