xlrd 模块方法 读取Excel file = 'route_info.xls' # 读取Excel信息,生成对象 read_book = xlrd.open_workbook(file) 获取sheet【表】相关方法,返回xlrd.sheet.Sheet()对象 sheet = read_boo ...
分类:
编程语言 时间:
2020-07-05 15:51:35
阅读次数:
60
作为一个网络工程师经常需要测试网络是否通,经常用的是ping,telnet,可是针对UDP的相关端口上面的两个命令并不适用,这时我们可以用NC这个小工具。 centos安装: yum install nc 常用选项 -g<网关> 设置路由器跃程通信网关,最多可设置8个。 -G<指向器数目> 设置来源 ...
分类:
其他好文 时间:
2020-07-05 15:13:11
阅读次数:
85
public class Route<T> { /// <summary> /// 终点相对于起点的维度 /// </summary> public int Dimension { get; } /// <summary> /// 完整路线 /// </summary> public string ...
React路由传参的三种方式 方式 一: 通过params 1.路由表中 <Route path=' /sort/:id ' component={Sort}></Route> 2.Link处 HTML方式 <Link to={ ' /sort/ ' + ' 2 ' } activeClassNam ...
分类:
其他好文 时间:
2020-07-04 18:42:03
阅读次数:
57
Jul 4 13:59:46.074: %DOT11-4-MAXRETRIES: Packet to client 30b4.9ef2.fe2f reached max retries, removing the client Jul 4 13:59:46.074: %DOT11-6-DISASSO ...
分类:
系统相关 时间:
2020-07-04 16:52:23
阅读次数:
118
import datetime import os from flask import Flask, send_from_directory, request from flask_cors import CORS app = Flask(__name__) CORS(app) @app.route ...
分类:
其他好文 时间:
2020-07-04 15:15:29
阅读次数:
94
简介 读取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
一、路由本质 在flask中: from flask import Flask app = Flask(__name__) @app.route('/',methods=['GET','POST'],endpoint='index') def index(): return 'index' if _ ...
分类:
其他好文 时间:
2020-07-03 01:00:29
阅读次数:
83
1.无用户名(最简单配置) vIOS1: r1(config)#line vty 0 4r1(config-line)#password ciscor1(config-line)#transport input all r1(config-line)#exir1(config)#enable sec ...
分类:
Web程序 时间:
2020-07-02 21:56:54
阅读次数:
82
1. 创建项目, 并同时生成路由文件 2. 创建组件xxx 3. 配置路由, 并在routing文件中导入组件xxx const routes: Routes = [ {path: 'xxx', component: XxxComponent} ]; 4. 在使用的地方用 routerLink <a ...
分类:
其他好文 时间:
2020-07-02 16:44:20
阅读次数:
52