![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
晴々明雅
这个作者很懒,什么都没留下…
展开
-
使用python发送邮件报错:starttls extension not supported by server.
在网上找了个使用python语言发送邮件的demo,如下:import smtplibfrom email.mime.text import MIMETextfrom email.header import Headermail_host = "收件箱所在IP"mail_password = 'password'sender = "myEmail"receivers = ["youEami"]message = MIMEText("python发送邮件", "plain", "utf-原创 2021-03-22 19:28:58 · 3963 阅读 · 3 评论 -
初学python需要弄清楚的几个问题
看视频在学习python,里面的示例代码都有敲,最后还是有一点凌乱1,学习python会涉及很多第三方库 与 模块,常用的下载方式是 使用 pip install XXX以下载机器学习库的 numpy 为例:pip3 install numpyRetrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<原创 2021-01-23 17:32:16 · 268 阅读 · 3 评论