10 2021 档案

摘要:作者:Scofield 链接:https://www.zhihu.com/question/35866596/answer/236886066 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 以下文章来源于CS的陋室 ,作者机智的叉烧 https://mp.weix 阅读全文
posted @ 2021-10-20 09:13 cup_leo 阅读(27) 评论(0) 推荐(0) 编辑
摘要:from pyDes import des, CBC, PAD_PKCS5 import binascii # 秘钥 KEY = 'dsj2020q' def des_encrypt(s): """ DES 加密 :param s: 原始字符串 :return: 加密后字符串,16进制 """ se 阅读全文
posted @ 2021-10-15 17:16 cup_leo 阅读(535) 评论(0) 推荐(0) 编辑
摘要:import pymysql import re import time import math from datetime import datetime import traceback import json import threading import logging import que 阅读全文
posted @ 2021-10-15 17:13 cup_leo 阅读(162) 评论(0) 推荐(0) 编辑
摘要:方法一from pyhive import hive import traceback class Hive_tool: def __init__(self): self.conn = hive.Connection(host="******", port=1****, database='ods' 阅读全文
posted @ 2021-10-15 17:08 cup_leo 阅读(286) 评论(0) 推荐(0) 编辑
摘要:from apscheduler.schedulers.blocking import BlockingScheduler from datetime import datetime,timedelta,date import requests import os def check_related 阅读全文
posted @ 2021-10-15 17:02 cup_leo 阅读(132) 评论(0) 推荐(0) 编辑
摘要:# coding: utf-8 import smtplib from email.mime.text import MIMEText from email.header import Header # 发信方的信息:发信邮箱,QQ邮箱授权码 class QQemail: def __init__( 阅读全文
posted @ 2021-10-15 16:58 cup_leo 阅读(51) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示