email_win.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:smartschool 作者: asifkodur 项目源码 文件源码
def validate_email(self):

        self.CHECK_LIST_ITEMS=[]

        sending_numbers=self.text_ctrl_selected_email.Value
        sending_numbers=sending_numbers.split(";")

        for email in sending_numbers:
            print email
            if not email:
                continue


            if self.V.validate_email(email)[0]:
                self.CHECK_LIST_ITEMS.append(email)

            else:
                #msg=email+" is invalid email id. Either edit or delete it to continue!"
                #dlg = wx.MessageDialog(self, msg, 'Error',wx.OK | wx.ICON_ERROR)                  
                #dlg.ShowModal()
                #dlg.Destroy()

                return 0

        return True
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号