1.京东商品页面爬取 打开某一个京东页面 https://item.jd.com/69336974189.html 代码: import requests url="https://item.jd.com/69336974189.html" try: r=requests.get(url) r.ra ...
分类:
编程语言 时间:
2020-07-05 13:35:26
阅读次数:
65
[Git 中文开发手册gitcli (Miscellaneous) - Git 中文开发手册命名gitcli - Git 命令行界面和约定概要gitcli描述本手册介绍了在整个 Git CLI 中使用的约定。许多命令都采用修订(通常是 “commits” ,但有时是 “ tree-ish ” ,取决... ...
分类:
其他好文 时间:
2020-07-05 12:02:23
阅读次数:
83
4 具体步骤 4.1 DEM数据拼接 (1)打开ENVI软件,选择【File】【Open】,添加文件夹DEM数据中的影像,操作如图4.1.1所示,结果如图4.1.2。 图4.1.1 添加DEM数据影像 图4.1.2 影像添加结果 (2)数据拼接准备。选择【Mosaicking】【Seamless M ...
分类:
其他好文 时间:
2020-07-05 10:46:40
阅读次数:
101
前言欢迎关注公众号,白嫖原创PDF,也可以催更,微信搜:JavaPub,回复:【666】Git在生产工作中是使用频率很高的工具,但我发现很多文章只是对它做了简单的提交命令说明,真正遇到版本冲突或文件丢失等问题又定位不到原因,浪费大量时间。本篇文章较长,但都是在实际项目中用到的点。阅读本文大概需要6分钟[toc]1.版本控制1.1.什么是版本控制版本控制是一种记录一个或若干文件内容变化,以便将来查阅
分类:
其他好文 时间:
2020-07-05 10:42:54
阅读次数:
44
转自:http://www.cnblogs.com/weixing/p/5674078.html References required: HttpContextWrapper - System.Web.dll RemoteEndpointMessageProperty - System.Servi ...
2种方法: 1.open文件设置encoding file = open(filename, 'r', encoding='UTF-8') 2.用encode方法 str = str.encode() 参考:https://www.fujieace.com/python/str-bytes.html ...
分类:
编程语言 时间:
2020-07-05 00:27:39
阅读次数:
167
import xlrdclass ReadExcel: def __init__(self,filename,sheetname): self.workbook = xlrd.open_workbook(filename) self.sheetname = self.workbook.sheet_b ...
分类:
编程语言 时间:
2020-07-04 22:31:00
阅读次数:
73
今天在Ubuntu系统中,需要在同一个系统的两个不同VNC窗口中分别开启Firefox,可是被报错了,如下图所示 ?Firefox报错信息 Firefox is already running, but is not responding. To open a new window,you must ...
分类:
系统相关 时间:
2020-07-04 22:27:00
阅读次数:
122
1.将本地的webp图片转换为jpg from PIL import Image filename = '0bb521255dc1eb1830579959afff9407.webp' im = Image.open(filename) if im.mode == "RGBA": im.load() ...
分类:
Web程序 时间:
2020-07-04 15:28:07
阅读次数:
86
简介 读取Excle文档,支持xls,xlsx格式 安装:pip3 install xlrd 导入:import xlrd xlrd 模块方法 读取Excel file = 'route_info.xls' # 读取Excel信息,生成对象 read_book = xlrd.open_workboo ...
分类:
编程语言 时间:
2020-07-04 13:20:57
阅读次数:
64