08 2020 档案

摘要:一.(x for xx in yy )当x为固定参数 如: n = 10 # 生成n个0 matrix = [0 for i in range(n)]# 这里面0代表返回值,后面的for循环就是返回的个数,这里就是返回10个0给matrix print(matrix)等价于: matrix = [] 阅读全文
posted @ 2020-08-13 15:58 Curry! 阅读(638) 评论(0) 推荐(0)
摘要:import smtplib from email.mime.text import MIMEText from email.header import Header from email.mime.multipart import MIMEMultipart mail_user="xxxxxxxx 阅读全文
posted @ 2020-08-08 23:35 Curry! 阅读(182) 评论(0) 推荐(0)