升级系统,安装常用的rpm yum -y update yum -y install wget net-tools nfs-utils lrzsz gcc gcc-c++ make cmake\ libxml2-devel openssl-devel curl curl-devel unzip su ...
分类:
其他好文 时间:
2020-07-19 23:07:25
阅读次数:
97
Pandas 1.数据读取 进行数据分析最麻烦的就是数据获取,然后一旦获得了数据,我们就可以很愉快的开始玩耍这些数据。Pandas的IO tools提供了很多的数据源的类型,但实际上,对于我这个初学者可能用的最多可能就是excel文件了。这里就需要用到pandas.read_excel()函数。 1 ...
分类:
其他好文 时间:
2020-07-19 16:28:34
阅读次数:
69
首先要安装flask包: pip install flask 开发一个简单的API接口 # 1. 导入包 from flask import Flask, request # 2. 实例化一个 app = Flask(__name__) # 3. 编写一个接口处理方法 @app.route("/ad ...
分类:
Web程序 时间:
2020-07-19 15:50:08
阅读次数:
65
实现的功能里面的数据提交保存到数据库,同事对数据进行验证,这是要实现的效果 1 <div class="yjdjfm"> 2 <div class="yjdjfd"> 3 <ul> 4 <li><span>仪检名称:</span><input id="txtyjneme" name="txtyjne ...
分类:
Web程序 时间:
2020-07-18 21:54:50
阅读次数:
86
好记性不如烂笔头 1、先输出Gerber File 2、进入Gerber Setup 进行设置(注意单位,精度选择2:4即可,不用选择2:5高精度) 先点Used On 将有用的层自动勾选上,然后再仔细核对,将不需要的层取消gerber输出 钻孔光绘文件 在高级选项中,基本上保持默认,注意0缺省和坐 ...
分类:
其他好文 时间:
2020-07-18 00:28:43
阅读次数:
76
先引出偏函数 #一个带有可变参数的sum函数 def sum(*args): s=0 for i in args: s=s+n return s #想要输出(sum(10,20)+sum(1,2,3,4,5)) print(sum(10,20)+sum(1,2,3,4,5)) 这样虽然通俗易懂,但是 ...
分类:
编程语言 时间:
2020-07-17 22:06:21
阅读次数:
83
zabbix的网络监控能力特别捉急 公司领导要求又高开发了这个玩意 ''' import datetime import json import sys import os import re import subprocess class tools(object): def init(self) ...
分类:
其他好文 时间:
2020-07-17 19:49:38
阅读次数:
121
How to Create Multiple lists from CSV File? We can use the combination of CSV and PowerShell to create multiple lists in bulk in SharePoint Online. He ...
分类:
系统相关 时间:
2020-07-17 14:13:50
阅读次数:
83
文件同步助手(本地) 文件 sync.js const fs=require('fs'); const crypto=require('crypto'); let config,to_config,from_config; function test_ignore(path){ if(config. ...
分类:
其他好文 时间:
2020-07-17 13:35:31
阅读次数:
62
条件: 系统:CentOS 7 网卡: eth0 内网 网关:192.168.1.1 eth1 外网 网关:10.0.0.1 配置: 先安装net-tools:yum -y install net-tools route del default #删除默认路由 route add -net 192. ...
分类:
其他好文 时间:
2020-07-17 11:31:43
阅读次数:
74