摘要: 1. 根据条件求和 =sumif(range,criteria,sum_range) range:要按条件查找的区域 criteria:条件,通配符*可以用来匹配任意字符,?匹配单个字符,和正则表达式相同 sum_range:求和区域 如:=SUMIF(D5:D13,"*发票*",N5:N13) 2 阅读全文
posted @ 2021-01-19 11:18 -*-菜鸟程序-*- 阅读(151) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> /* css的权重: id > 类 > 标签 */ #father.father #son.son{/* id:2 阅读全文
posted @ 2020-04-07 23:00 -*-菜鸟程序-*- 阅读(152) 评论(0) 推荐(0)
摘要: 一、在usr/share/applications创建一个文件:pycharm.desktop(touch、nano、gedit指令等) cd/usr/share/applications sudo gedit pycharm.desktop 二、编辑该文件(pycharm.desktop),输入以 阅读全文
posted @ 2020-03-16 22:46 -*-菜鸟程序-*- 阅读(176) 评论(0) 推荐(0)
摘要: 查看D目录下的文件: 使用os模块创建目录,代码如下: path = r"D:\a\b" isExists = os.path.exists(path) print(isExists) if not isExists: # 路径不存在,即文件名不存在 os.mkdir(path) View Code 阅读全文
posted @ 2020-02-28 21:38 -*-菜鸟程序-*- 阅读(6149) 评论(0) 推荐(0)
摘要: 涉及知识:requests模块,Xpath,json模块,“ ”.join(str)等 一、分析网页(https://movie.douban.com/review/best/?start=0) 打开网页,按F12,打开“检查”: (1)Network中返回的响应HTML代码如下图: (2)Elem 阅读全文
posted @ 2020-02-19 23:38 -*-菜鸟程序-*- 阅读(269) 评论(0) 推荐(0)
摘要: Chrome 浏览器插件安装 安装 JsonView插件 1.打开Github:https://github.com 2.在搜索栏中输入 JsonView :https://github.com/search?q=jsonview 3.选择插件:https://github.com/gildas-l 阅读全文
posted @ 2020-02-18 10:26 -*-菜鸟程序-*- 阅读(149) 评论(0) 推荐(0)
摘要: 用pip安装tornado库: python -m pip install tornado 出现问题一: Could not fetch URL https://pypi.org/simple/twisted/: There was a problem confirming the ssl cert 阅读全文
posted @ 2019-12-29 17:35 -*-菜鸟程序-*- 阅读(3114) 评论(0) 推荐(0)
摘要: 安装tesserocr库时出现以下问题:(如图) Could not fetch URL https://pypi.org/simple/tesserocr/: There was a problem confirming the ssl certificate: HTTPSConnectionPo 阅读全文
posted @ 2019-12-29 15:50 -*-菜鸟程序-*- 阅读(300) 评论(0) 推荐(0)
摘要: wheel文件下载地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/ 阅读全文
posted @ 2019-12-23 10:28 -*-菜鸟程序-*- 阅读(612) 评论(0) 推荐(0)
摘要: 1.分析网页代码,获取图片下载连接:http://img3m4.ddimg.cn/20/11/23473514-1_b_5.jpg 2. python实现代码 1 import os 2 import re 3 import requests 4 import time 5 6 # 图片来源url 阅读全文
posted @ 2019-12-19 14:46 -*-菜鸟程序-*- 阅读(280) 评论(0) 推荐(0)