码迷,mamicode.com
首页 >  
搜索关键字:zabbix python post json    ( 199015个结果)
Python如何使用input一次输入多个变量
变量1,变量2,变量3=input("提示语句").split("分隔符",分隔次数) 这里input用split返回的值是列表,如果想对他进行强制类型转换请用map函数 ...
分类:编程语言   时间:2021-04-13 12:29:48    阅读次数:0
《写给程序员的Python教程》阅读随笔---python禅学(Zen_of_python)
Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better tha ...
分类:编程语言   时间:2021-04-13 12:03:32    阅读次数:0
python 计算均值、方差、标准差 Numpy,Pandas
Python 中的 numpy 包 和 pandas 包都能够计算均值、方差等,本文总结一下它们的用法。 #1. Numpy 计算均值、方差、标准差 一般的均值可以用 numpy 中的 mean 方法求得: >>> import numpy as np >>> a = [5, 6, 16, 9] > ...
分类:编程语言   时间:2021-04-13 12:00:51    阅读次数:0
python接口自动化,通过表单形式请求接口
#coding:utf-8 import xlrd,requests file_name = r"F:\pythonScript\map_dp\data_center\data_config\second_disaster_of_agriculture_and_natural_gas.xls" wo ...
分类:编程语言   时间:2021-04-13 11:59:05    阅读次数:0
部署altermanager 并使用邮件进行报警
部署altermanager组件 [root@zabbix ~]# tar -xf alertmanager-0.21.0.linux-amd64.tar.gz -C /opt/monitor/[root@zabbix ~]# cd /opt/monitor/[root@zabbix monitor ...
分类:其他好文   时间:2021-04-13 11:58:34    阅读次数:0
python基础之文件操作with
前面,我们学习了文件的读(read)和写(write),都是用open()方法打开文件并获取文件流。然后在读或写操作完成后进行流的关闭(close).有时候,最后的流关闭很容易被忽略,从而导致了内存泄漏的问题。 今天要说的就是with,用于自动关闭流。 用法:with open(file, mode ...
分类:编程语言   时间:2021-04-13 11:57:38    阅读次数:0
web8
include "flag.php"; 被包含文件先按参数给出的路径寻找,如果没有给出目录(只有文件名)时则按照 include_path 指定的目录寻找 $a = @$_REQUEST['hello']; 代表 $_REQUEST 将包含 $_GET 和 $_POST 的值,并且当 $_GET 和 ...
分类:Web程序   时间:2021-04-13 11:51:24    阅读次数:0
Linux 查看端口状态netstat
1、netstat命令 netstat命令可显示当前服务器上所有端口及进程服务,与grep结合可查看某个具体端口及服务情况。 参数: -t : 指明显示TCP端口 -u : 指明显示UDP端口 -l : 仅显示监听套接字(所谓套接字就是使应用程序能够读写与收发通讯协议(protocol)与资料的程序 ...
分类:Web程序   时间:2021-04-13 11:50:53    阅读次数:0
RequestMapping与GetMapping、PutMapping等注解的区别
##RequestMapping RequestMapping中的method方法 method:指定请求的method类型, GET、POST、PUT、DELETE等; ##GetMapping 看一下注解的底层源码 可以看到底层用了@RequestMapping(method = Request ...
分类:移动开发   时间:2021-04-13 11:47:36    阅读次数:0
postman学习系列
1. postman(一):主界面模块解析 2. postman(二):使用postman发送get or post请求 3. postman(三):添加断言 4. postman(四):添加变量 5. postman(五):在不同接口之间传递数据 6. postman(六):详解在Pre-requ ...
分类:其他好文   时间:2021-04-13 11:41:25    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!