05 2018 档案
摘要:简单的文本邮件 代码1 1 #不知道为啥这个代码有时候发送成功,有时候发送不成功,简略的测试了一下大概10次中能成功4次 2 #!/usr/bin/python 3 4 import smtplib 5 from email.mime.text import MIMEText 6 from emai
阅读全文
摘要:python 中的多线程模块有 _thread,threading 和 Queue 等 _thread 模块 _thread 模块中的 start_new_thread() 函数产生新线程,语法: _thread.start_new_thread(function, args[, kwargs])
阅读全文