摘要: 一.安装git 在Linux上安装Git: 首先,你可以试着输入git,看看系统有没有安装Git 在Windows上安装Git 从Git官网直接下载安装程序,然后按默认选项安装即可。 安装完成后,在开始菜单里找到“Git”->“Git Bash 打开GIT Bash在命令行输入: Workspace 阅读全文
posted @ 2018-09-14 13:27 Zaccheo_zl 阅读(165) 评论(0) 推荐(0)
  2019年2月15日
摘要: # coding = utf-8 import os import xlwt import re def readTxt_toExcel(valueList, Pathlist): workbook = xlwt.Workbook() # sheet = workbook.add_sheet('finish_郑磊', cell_overwrite_ok=True) # E... 阅读全文
posted @ 2019-02-15 11:18 Zaccheo_zl 阅读(2354) 评论(0) 推荐(1)
摘要: import cv2 import os Path = "C:/Users/zl3269/Desktop/test/video/" # 视频的格式 /aisg-server/Data/1_Face/4_ForProject/05_MultiCamerFaceCollection/Data/Video for Directory_list in os.listdir(Path): p... 阅读全文
posted @ 2019-02-15 11:17 Zaccheo_zl 阅读(437) 评论(0) 推荐(0)
摘要: #coding=utf-8 import flickrapi import requests import os n=1 flickr=flickrapi.FlickrAPI('****************','*************',cache=True) try: photos=flickr.walk(user_id='11613546@N03',extras='url_z... 阅读全文
posted @ 2019-02-15 11:15 Zaccheo_zl 阅读(431) 评论(0) 推荐(0)
摘要: '''Request+正则表达式抓取猫眼电影TOP100内容''' import requests from requests.exceptions import RequestException import re import json from multiprocessing import Pool #进程池 def get_one_page(url): try: ... 阅读全文
posted @ 2019-02-15 11:12 Zaccheo_zl 阅读(313) 评论(0) 推荐(0)
摘要: import requests from bs4 import BeautifulSoup response = requests.get("https://www.autohome.com.cn/news/") # 01 发送请求 response.encoding = response.apparent_encoding # 格式转换防止页面中文乱码 自动获得返回数据原来的编码... 阅读全文
posted @ 2019-02-15 11:11 Zaccheo_zl 阅读(221) 评论(0) 推荐(0)
摘要: import requests import re import os import time print("ready....") def downPic(dirs, keyword, imgId): headers_downPic = { 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9... 阅读全文
posted @ 2019-02-15 11:09 Zaccheo_zl 阅读(1013) 评论(0) 推荐(0)
  2019年1月23日
摘要: 完整代码: 阅读全文
posted @ 2019-01-23 10:26 Zaccheo_zl 阅读(224) 评论(0) 推荐(0)
摘要: 完整代码: 2019-01-23 阅读全文
posted @ 2019-01-23 10:19 Zaccheo_zl 阅读(5830) 评论(0) 推荐(0)