摘要:
import argparse import socket import telnetlib import time from decimal import Decimal class TelnetSun(telnetlib.Telnet): message_list = [] rule = [b' 阅读全文
posted @ 2021-11-25 18:21
167
阅读(80)
评论(0)
推荐(0)
摘要:
import argparse import json import string import threading import time from decimal import Decimal from smb.SMBConnection import SMBConnection passwor 阅读全文
posted @ 2021-11-25 18:17
167
阅读(271)
评论(0)
推荐(0)
摘要:
import time import datetime class TimeAbout(): def TimeStamp(self, **kwargs): _ = self """ 获取时间戳 """ t = kwargs.get('time') if t is None: return int(t 阅读全文
posted @ 2021-11-25 18:15
167
阅读(40)
评论(0)
推荐(0)
摘要:
django 生成token 单独py文件生成方法djangocoresigning.py import base64 import hashlib import hmac import json import re import time import zlib import datetime f 阅读全文
posted @ 2021-11-25 18:15
167
阅读(141)
评论(0)
推荐(0)
摘要:
import hashlib import random import time import requests from lxml import etree def get_random_agent(): agent_list = [ "Mozilla/4.0 (compatible; MSIE 阅读全文
posted @ 2021-11-25 18:09
167
阅读(195)
评论(0)
推荐(0)
摘要:
BaiduTranslate.js(百度翻译所需的js代码) function a(r) { if (Array.isArray(r)) { for (var o = 0, t = Array(r.length); o < r.length; o++) t[o] = r[o]; return t } 阅读全文
posted @ 2021-11-25 18:07
167
阅读(1585)
评论(0)
推荐(0)
摘要:
import json import time import requests from lxml import etree class YeeKit: def __init__(self): self.headers = { 'Content-Type': 'application/json; c 阅读全文
posted @ 2021-11-25 18:07
167
阅读(117)
评论(0)
推荐(0)
摘要:
import os import sys # 当前文件夹 curry_dir = os.path.dirname(os.path.abspath(__file__)) # 项目根目录 libsPathList = os.path.abspath(os.path.join(curry_dir, '.. 阅读全文
posted @ 2021-11-25 17:56
167
阅读(48)
评论(0)
推荐(0)
摘要:
快速读取文件指定行 # 写入 s = '[2021-5-25 12:41:9];192.168.0.110;0.0.0.0;init-setting' with open('log.txt', 'a', encoding='utf-8') as w: for i in range(100000): 阅读全文
posted @ 2021-11-25 17:53
167
阅读(1094)
评论(0)
推荐(0)
摘要:
# python 如何识别字符串中的人名 ,如何识别一串拼音字符串以及韵母的提取 ## 一、识别字符串中的人名或特定名词 ### 1.安装Python SDK ~~~markdown 安装方法:pip install baidu-aip ~~~ ### 2.获取APP ID ~~~markdown 阅读全文
posted @ 2021-11-25 17:51
167
阅读(1536)
评论(0)
推荐(0)

浙公网安备 33010602011771号