Visual Studio Code 1.自定义python组建,方便某功能和代码的便捷操作 文件--首选项--用户代码片段--python.json--自定义需要的代码和功能 2.自定义快捷键方法 文件--首选项--键盘快捷方式--搜索要加入快捷键的命令,自定义快捷键 3.设置自动保存文件 文件- Read More
posted @ 2018-12-18 18:54 Xcsg Views(175) Comments(1) Diggs(1) Edit
# -*- coding: utf-8 -*-import requests,osfrom lxml import etreeimport multiprocessingfrom retrying import retry# 创建地址池urllist = ["http://www.zhuangxiu Read More
posted @ 2018-12-18 18:25 Xcsg Views(156) Comments(0) Diggs(0) Edit
# -*- coding: utf-8 -*- import requests,os from lxml import etree from pymongo import * class Boke(object): def __init__(self): self.url ="https://www Read More
posted @ 2018-12-18 17:52 Xcsg Views(196) Comments(0) Diggs(0) Edit
import requests,os,jsonfrom lxml import etreefrom pymysql import *class Movie(object):def __init__(self):self.url="https://www.360kan.com/dianying/lis Read More
posted @ 2018-12-18 17:48 Xcsg Views(404) Comments(0) Diggs(0) Edit
# -*- coding: utf-8 -*-import requests,osfrom lxml import etreeimport multiprocessingfrom retrying import retry# 创建地址池urllist = ["http://www.zhuangxiu Read More
posted @ 2018-12-18 16:39 Xcsg Views(454) Comments(0) Diggs(0) Edit
posted @ 2018-12-18 16:36 Xcsg Views(185) Comments(0) Diggs(0) Edit