码迷,mamicode.com
首页 >  
搜索关键字:mime    ( 1713个结果
python 发邮件
1、导入所需要的模块 import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.image import MIMEImage f ...
分类:编程语言   时间:2019-12-11 19:12:40    阅读次数:98
非ssl给163发邮件,报错,无解ing
#给163发送邮件import smtplibfrom email.mime.text import MIMETextnam='15527721040@163.com'send='15527721040@163.com'receive='371933505@qq.com'pw = '37193350 ...
分类:其他好文   时间:2019-12-09 21:14:01    阅读次数:110
CAD关于文字样式文字显示号问题原因和解决办法
打开DWG时,图纸中使用的shx字体文件在本地电脑不能找到时,控件会默认使用缺省的字体txt.shx,hztxt.shx来代替,这样一般文字不会显示成问号,但是如果文字中的特殊符号在默认字体也一样找不到,这时就会显示成问号。 使用缺省的字体的代替的文字样式,可能会出现文字显示大小,样子不一至的效果。 ...
分类:其他好文   时间:2019-12-09 10:26:43    阅读次数:108
Python连载56-发送带有附件、正文为HTML的邮件
一、HTML格式怎么发送右键 1.准备HTML代码作为内容 2.把邮件的subtype设置为html 3.发送 4.举个例子:自己发给自己一个HTML格式的文件 from email.mime.text import MIMEText ? main_content = """ <!DOCTYPE h ...
分类:编程语言   时间:2019-12-09 01:47:23    阅读次数:189
使用python发邮件:
import smtplibfrom email.mime.text import MIMETextfrom email.utils import formataddr#定义发送的内容:msg = MIMEText("你好","plain","utf-8")#定义邮件标题:msg['subject' ...
分类:编程语言   时间:2019-12-07 12:50:46    阅读次数:75
爬取数据来着
{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "scrolled": true }, "outputs": [], "source": [] }, { "cell_type": "code", " ...
分类:其他好文   时间:2019-12-06 23:25:15    阅读次数:95
Js input type=file 的学习
https://www.liaoxuefeng.com/wiki/1022910821149312/1023022494381696 //引入 https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input/file //细节讲解文档 ...
分类:Web程序   时间:2019-12-01 20:45:10    阅读次数:118
Nginx配置虚拟主机
以hostname区分不同的网站,一个server{ }配置块就是一个网站。 # 省略一些配置...... http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr ...
分类:其他好文   时间:2019-11-30 00:09:43    阅读次数:84
Nginx配置https网站
因为Nginx默认从conf目录搜索https证书,所以https证书一般存放到conf目录下。 #省略一些配置......http { include mime.types; default_type application/octet-stream; sendfile on; keepalive ...
分类:Web程序   时间:2019-11-29 23:43:23    阅读次数:132
because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checkin
1 前言 浏览器报错误(chrome和firefox都会):because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checkin... 2 解决方案 3 小结 同时也会 ...
分类:Web程序   时间:2019-11-27 12:18:37    阅读次数:185
1713条   上一页 1 ... 18 19 20 21 22 ... 172 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!