上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: #7 24 import datetime import time # print(time.ctime()) #Wed Jul 24 21:58:39 2019 print(time.localtime()) # struct_time print(time.time()) #1563976743 阅读全文
posted @ 2019-07-24 23:09 追风zz 阅读(449) 评论(0) 推荐(0) 编辑
摘要: # 阅读全文
posted @ 2019-07-17 14:13 追风zz 阅读(948) 评论(0) 推荐(0) 编辑
摘要: # # 阅读全文
posted @ 2019-07-17 11:24 追风zz 阅读(145) 评论(0) 推荐(0) 编辑
摘要: # 阅读全文
posted @ 2019-07-10 20:47 追风zz 阅读(517) 评论(0) 推荐(0) 编辑
摘要: # import requests res = requests.get('http://github.com',allow_redirects=True).text #处理重定向 print(res) import threading from threading import local imp 阅读全文
posted @ 2019-07-10 19:42 追风zz 阅读(171) 评论(0) 推荐(0) 编辑
摘要: #测试单元 # 一个线程 阅读全文
posted @ 2019-07-10 17:08 追风zz 阅读(243) 评论(0) 推荐(0) 编辑
摘要: # # # 阅读全文
posted @ 2019-07-09 22:21 追风zz 阅读(369) 评论(0) 推荐(0) 编辑
摘要: # import smtplib from email.mime.text import MIMEText msg = MIMEText(''' 你好: 我是来自 XX 的小伙子, 现在想求职一份Python的工作! 下面是我的附件简历!''') #文本内容 msg['Subject'] = "py 阅读全文
posted @ 2019-07-09 09:53 追风zz 阅读(203) 评论(0) 推荐(0) 编辑
摘要: web 框架的本质 - socket服务端 帮助我们快速开发网站 http 阅读全文
posted @ 2019-07-07 22:07 追风zz 阅读(102) 评论(0) 推荐(0) 编辑
摘要: # from bs4 import BeautifulSoup from urllib.request import urlopen res = urlopen('http://pythonscraping.com/pages/page1.html') bs = BeautifulSoup(res. 阅读全文
posted @ 2019-07-07 22:06 追风zz 阅读(454) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 19 下一页