导航

 

2019年8月20日

摘要: from websocket import create_connection # 建立一个websocket连接 ws = create_connection("ws://{}:7505/realtime/logs".format(server_ip)) # 对websocket客户端发送一个请求 print task_id ws.send('{{"type":"1","taskId":{}," 阅读全文
posted @ 2019-08-20 16:25 slqt 阅读(900) 评论(0) 推荐(0) 编辑
 
摘要: 监控数据参见: 阅读全文
posted @ 2019-08-20 11:21 slqt 阅读(787) 评论(0) 推荐(0) 编辑
 
摘要: # coding=utf8 import smtplib import os from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart import sys import pymysql sender = '' # 发件人邮箱登录账号 sender_pass = '' # 发件人邮箱登录密 阅读全文
posted @ 2019-08-20 11:17 slqt 阅读(231) 评论(0) 推荐(0) 编辑