摘要:
from pyDes import des, CBC, PAD_PKCS5 import binascii # 秘钥 KEY = 'dsj2020q' def des_encrypt(s): """ DES 加密 :param s: 原始字符串 :return: 加密后字符串,16进制 """ se 阅读全文
摘要:
import pymysql import re import time import math from datetime import datetime import traceback import json import threading import logging import que 阅读全文
摘要:
方法一from pyhive import hive import traceback class Hive_tool: def __init__(self): self.conn = hive.Connection(host="******", port=1****, database='ods' 阅读全文
摘要:
from apscheduler.schedulers.blocking import BlockingScheduler from datetime import datetime,timedelta,date import requests import os def check_related 阅读全文
摘要:
# coding: utf-8 import smtplib from email.mime.text import MIMEText from email.header import Header # 发信方的信息:发信邮箱,QQ邮箱授权码 class QQemail: def __init__( 阅读全文