上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 38 下一页
摘要: from flask import Flask, render_template, request, redirect, url_for, json, Response import requests from werkzeug.utils import secure_filename import 阅读全文
posted @ 2021-12-28 15:17 Bonnie_ξ 阅读(127) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- import sys,os from random import randint from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtGui import * from PyQt5.QtCor 阅读全文
posted @ 2021-12-03 16:10 Bonnie_ξ 阅读(57) 评论(0) 推荐(0) 编辑
摘要: point_names-GUI.py(主程序GUI) import random import re import time import threading from tkinter import * from tkinter import ttk from base64 import b64de 阅读全文
posted @ 2021-12-03 10:20 Bonnie_ξ 阅读(1234) 评论(0) 推荐(0) 编辑
摘要: import requests from lxml import etree from hashlib import md5 import re import os import redis r = redis.StrictRedis(host='localhost', port=6379, db= 阅读全文
posted @ 2021-11-20 14:55 Bonnie_ξ 阅读(63) 评论(0) 推荐(0) 编辑
摘要: import random import sys import os from PyQt5 import QtGui from PyQt5.QtCore import QTimer, Qt from PyQt5.QtGui import QPixmap from PyQt5.QtWidgets im 阅读全文
posted @ 2021-11-19 16:14 Bonnie_ξ 阅读(556) 评论(0) 推荐(0) 编辑
摘要: 常用的读取文件函数有三种read()、readline()、readlines() read() 一次性读全部内容 一次性读取文本中全部的内容,以字符串的形式返回结果 with open("test.txt", "r") as f: # 打开文件 data = f.read() # 读取文件 pri 阅读全文
posted @ 2021-11-19 15:05 Bonnie_ξ 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 脚本主要是方便自己工作使用,服务器环境中配置了hbase相关环境变量 1.hbase备份脚本 #!/bin/bash tableList=("table1" "table2" "table3" "table4" "table5") for table in ${tableList[@]} do hb 阅读全文
posted @ 2021-10-18 13:39 Bonnie_ξ 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 安装dos2unix # centos yum -y install dos2unix # ubuntu apt-get install -y dos2unix 执行转换 # install.sh为我的脚本名字,自行改为自己的脚本名字即可 dos2unix ./install.sh 阅读全文
posted @ 2021-10-18 13:38 Bonnie_ξ 阅读(47) 评论(0) 推荐(0) 编辑
摘要: ps -ef | grep procedure_name | grep -v grep | awk '{print $2}' | xargs kill -9 阅读全文
posted @ 2021-10-18 13:36 Bonnie_ξ 阅读(131) 评论(0) 推荐(0) 编辑
摘要: import sys from PyQt5.QtWidgets import * from PyQt5.QtGui import QIcon import requests class fileDialogdemo(QWidget): def __init__(self, parent=None): 阅读全文
posted @ 2021-09-30 16:25 Bonnie_ξ 阅读(215) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 38 下一页