![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
花朵快快长
这个作者很懒,什么都没留下…
展开
-
python开机自启切换每日必应壁纸
# -*- coding:utf-8 -*-import jsonimport urllib.requestimport requestsimport ctypesimport os.path#接口调用(get形式)def request_get(url, param): fails = 0 while True: try: if fails >= 20: break re原创 2021-09-06 15:35:18 · 141 阅读 · 0 评论 -
pytho基础语言及发送多人邮箱
''' Python语法'''#打印print(1+1) #数字输出print('hello')#字符串输出单引号print("let's\ngo")#字符串输出出现单引号 使用双引号 \n为转义符表示换行 更多转义符请自行百度print('''hi''')#字符串输出 三引号 自动换行'''输出内容2hellolet'sgohi'''#............................................................原创 2020-05-12 16:45:33 · 184 阅读 · 0 评论 -
python爬虫初步了解 定时任务 以及浏览器自动工作
# Python爬虫import requests #在配置了环境下cmd启用pip install requests否则到安装路径cmd再启用代码下载#引入requests库res = requests.get('http://book.zongheng.com/chapter/837954/55458762.html')#这边放入了一个小说网址# response.status_code 检查请求是否成功#response.content 把response对象转换为二进制数据# r原创 2020-05-14 11:54:12 · 349 阅读 · 0 评论