爬取国家统计局地区数据脚本

import requests #from lxml import etree from pyquery import PyQuery as pq import csv url = 'http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2019/index.html' baseUrl = 'http://www.stats.gov.cn/tjsj/

- 阅读全文 -

ssh 登录管理工具

ssh登录管理工具脚本#!/bin/bash #Author:weidada #Version:1.0 #CreateTime:2020-08-25 10:09:03 #--------Description------------ # 需要提前安装expect #--------Description------------ host_list=( #"编号\t|

- 阅读全文 -

自动备份MYSQL数据库

shell脚本#!/bin/bash # 以下配置信息请自己修改 mysql_user="root" #MySQL备份用户 mysql_password="123" #MySQL备份用户的密码 mysql_host="127.0.0.1" mysql_port="3306" mysql_charset="

- 阅读全文 -