raspberry pi install protobufs protobuf github仓库地址https://github.com/protocolbuffers/protobuf/releases。 没有提供armv7l 32位的版本,下载cpp的tar包,编译安装。 下载c++的tar包, ...
分类:
Web程序 时间:
2021-06-04 19:07:40
阅读次数:
0
convertImage.py # 功能 : 将当前工作目录下所有webp格式转为png or jpg # -*- coding: UTF-8 -*- import os from PIL import Image # 返回当前工作目录 CURRENT_PATH = os.getcwd() # 转换 ...
分类:
编程语言 时间:
2021-06-04 19:06:58
阅读次数:
0
一、错误现象 1、api-ms-win-core-path-l1-1-0.dll错误日志如下: 2、重新打包查看有如下的警告信息: 二、解决方案: 1、网上下载:api-ms-win-core-path-l1-1-0.dll ,可选择6.2.9200.16384 2、将文件放入python根目录与系 ...
关于引入Echarts的方法在此 直通车在此 接下来就是添加点击事件,获取X轴的数据 <div echarts #charts [options]="chartOption" class="charts"></div> import { NgxEchartsService } from 'ngx-e ...
分类:
其他好文 时间:
2021-06-04 19:05:50
阅读次数:
0
1.上传jar到服务器的指定目录 2.在该目录下创建Dockerfile 文件 vi Dockerfile 3.编写Dockerfile FROM java:8-jdk MAINTAINER yy ADD map-1.0-SNAPSHOT.jar map.jar EXPOSE 8080 ENTRYP ...
分类:
编程语言 时间:
2021-06-04 19:02:42
阅读次数:
0
简介 记住如何使用C++11函数的话会很简单. 参考链接 https://leetcode-cn.com/problems/random-pick-with-weight/solution/528-an-quan-zhong-sui-ji-xuan-ze-qian-zh-p54t/ code cla ...
分类:
其他好文 时间:
2021-06-04 18:57:54
阅读次数:
0
八爪鱼 ——自动抓取进行数据采集 如何进行数据可视化呢? 有两种方法。 第一种就是使用 Python。在 Python 对数据进行清洗、挖掘的过程中,我们可以使用 Matplotlib、Seaborn 等第三方库进行呈现。 第二种就是使用第三方工具。如果你已经生成了 csv 格式文件,想要采用所见即 ...
分类:
其他好文 时间:
2021-06-04 18:52:21
阅读次数:
0
import abc #定义一个说话的方式接口类,只能被继承 不能被实例化 class Speak(abc.ABC): #@abc.abstractmethod @abc.abstractmethod def to_speak(self): pass #定义学生说话的类 class Student( ...
分类:
编程语言 时间:
2021-06-04 18:50:52
阅读次数:
0
__all__ = [<string>] 它是一个string元素组成的list变量,定义了当你使用 from <module> import * 导入某个模块的时候能导出的符号(这里代表变量,函数,类等)。 其实就是代码保护,限定本模块中只有哪些能被import。 举例:foo.py __all_ ...
分类:
编程语言 时间:
2021-06-04 18:49:33
阅读次数:
0
import os with open('a.txt','wb') as fp; file = open('a.txt','w',encoding = 'utf-8') # w是覆盖并且重新写入 file.write('Python') # 文件的杜西呃怎么打印出来是个中文字符 # print(fi ...
分类:
其他好文 时间:
2021-06-04 18:48:35
阅读次数:
0