
python
不言尘世
全栈java学习
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python入门基础
Python入门基础 - IDLE是一个Python Shell,基本上来说是一个通过键入文本与程序交互的途径 一、基础语法 - 输出 print() 正确写法: print('hello world') #hello world print("hello world") #hello world print("hello world"); #hello world print("hello"+"world") #helloworld print(转载 2021-04-01 10:14:40 · 316 阅读 · 0 评论 -
python 爬取整本小说到本地文件
headers={"User-Agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36"} url = "https://www.quanben.net/274/274596/" rps = requests.get(ur...原创 2019-12-26 21:51:03 · 606 阅读 · 0 评论 -
python爬取图片到本地文件夹
import requests import re import urllib import urllib.parse import urllib.request def getUrl(): #https://www.ivsky.com/tupian/ziranfengguang/index_3.html for i in range(1,5): urls=“https://www.ivsky.c...原创 2019-12-26 21:48:31 · 927 阅读 · 0 评论