摘要: #!/usr/bin/python3 # -*- coding: utf-8 -*- import pymysql import re class MysqldbHelper(object): # 继承object类所有方法 ''' 构造方法: config = { 'host': '127.0.0 阅读全文
posted @ 2022-06-14 15:58 雨之夜&秋 阅读(496) 评论(0) 推荐(0) 编辑
摘要: csv文件目录架构 #!/bin/bash for j in `ls -1 /data/DI/` do if [[ -n "${j}" ]]; then echo 目录不为空,执行该目录下面的文件。该目录的名称为:${j}。 for i in `ls -1 /data/DI/${j}` do if 阅读全文
posted @ 2022-06-14 15:52 雨之夜&秋 阅读(400) 评论(0) 推荐(0) 编辑