腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
返回腾讯云官网
sktj
专栏作者
举报
1542
文章
1894847
阅读量
34
订阅数
订阅专栏
申请加入专栏
全部文章(999+)
python(292)
html(229)
编程算法(179)
http(171)
png(116)
image(114)
网络安全(107)
qt(94)
网站(89)
linux(85)
javascript(79)
flask(79)
https(74)
tcp/ip(68)
bash(67)
sql(65)
c++(62)
node.js(61)
ios(60)
css(59)
数据库(59)
class(56)
容器(50)
bash 指令(49)
jquery(48)
php(45)
bootstrap(42)
容器镜像服务(41)
云数据库 SQL Server(40)
java(30)
import(30)
缓存(26)
nginx(25)
ssh(23)
unix(22)
self(20)
android(19)
命令行工具(19)
分布式(19)
yum(19)
xml(18)
grep(18)
windows(18)
日志服务(17)
DevOps 解决方案(17)
jquery ui(16)
文件存储(16)
存储(16)
shell(16)
ftp(16)
jenkins(16)
zabbix(15)
href(15)
go(14)
json(14)
apache(14)
socket编程(14)
layui(14)
file(13)
ide(12)
git(12)
centos(12)
sqlalchemy(11)
腾讯云测试服务(11)
django(10)
init(10)
sys(10)
title(10)
负载均衡(9)
sqlite(9)
打包(9)
api(9)
开源(9)
dns(9)
zookeeper(9)
scrapy(9)
button(9)
data(9)
path(9)
text(9)
云推荐引擎(8)
kubernetes(8)
运维(8)
html5(8)
nav(8)
return(8)
row(8)
云数据库 Redis(7)
负载均衡缓存(7)
gui(7)
自动化测试(7)
flash(7)
udp(7)
数据分析(7)
container(7)
default(7)
dropdown(7)
size(7)
time(7)
toggle(7)
swift(6)
单片机(6)
github(6)
tomcat(6)
访问管理(6)
serverless(6)
面向对象编程(6)
数据结构(6)
form(6)
input(6)
random(6)
table(6)
thread(6)
actionscript(5)
oracle(5)
svn(5)
devops(5)
正则表达式(5)
nat(5)
utf8(5)
Elasticsearch Service(5)
cat(5)
label(5)
multiprocessing(5)
panel(5)
root(5)
sort(5)
width(5)
配置(5)
其他(4)
.net(4)
memcached(4)
ubuntu(4)
NAT 网关(4)
vr 视频解决方案(4)
爬虫(4)
selenium(4)
gcc(4)
微信(4)
安全(4)
canvas(4)
processing(4)
accordion(4)
block(4)
element(4)
function(4)
key(4)
line(4)
prometheus(4)
queue(4)
range(4)
release(4)
select(4)
txt(4)
脚本(4)
对象存储(3)
regex(3)
vue.js(3)
access(3)
web.py(3)
全文检索(3)
SSL 证书(3)
自动化(3)
jdk(3)
cdn(3)
kernel(3)
ipv6(3)
add(3)
carousel(3)
count(3)
daemon(3)
db(3)
grafana(3)
height(3)
list(3)
lock(3)
mysql(3)
navbar(3)
pagination(3)
pipe(3)
port(3)
process(3)
sleep(3)
tcp(3)
timeout(3)
var(3)
win32com(3)
监控(3)
设计(3)
perl(2)
erlang(2)
webview(2)
listview(2)
textview(2)
makefile(2)
apt-get(2)
spring(2)
mapreduce(2)
cci 持续集成(2)
企业(2)
babel.js(2)
游戏(2)
wordpress(2)
hive(2)
numpy(2)
openstack(2)
rpc(2)
kvm(2)
网站建设(2)
虚拟化(2)
数据库管理(2)
admin(2)
alarm(2)
alert(2)
app(2)
area(2)
argv(2)
bat(2)
border(2)
break(2)
byte(2)
client(2)
com(2)
cookie(2)
cpu(2)
dashboard(2)
date(2)
debug(2)
dot(2)
driver(2)
error(2)
excel(2)
exit(2)
filter(2)
func(2)
h2(2)
haproxy(2)
hash(2)
host(2)
hover(2)
io(2)
it(2)
jobs(2)
keepalived(2)
ldap(2)
location(2)
map(2)
min(2)
object(2)
output(2)
ping(2)
position(2)
python3(2)
reactor(2)
script(2)
semaphore(2)
set(2)
sh(2)
shadow(2)
slide(2)
space(2)
split(2)
target(2)
view(2)
wait(2)
webdriver(2)
word(2)
worker(2)
wrapper(2)
zip(2)
备份(2)
变量(2)
布局(2)
部署(2)
对象(2)
服务器(2)
高可用(2)
集群(2)
架构(2)
权限(2)
手机(2)
数据(2)
算法(2)
硬件(2)
优化(2)
装饰器(2)
云服务器(1)
内容分发网络 CDN(1)
数据挖掘(1)
objective-c(1)
xcode(1)
c 语言(1)
c#(1)
ruby(1)
r 语言(1)
react(1)
ajax(1)
typescript(1)
硬件开发(1)
matlab(1)
jar(1)
maven(1)
深度学习(1)
腾讯云可观测平台(1)
TDSQL MySQL 版(1)
消息队列 CMQ 版(1)
域名注册(1)
数据加密服务(1)
文字识别(1)
短信(1)
图像处理(1)
数据备份(1)
渲染(1)
url 安全(1)
数据安全(1)
xslt & xpath(1)
grunt(1)
spark(1)
jvm(1)
erp(1)
npm(1)
二叉树(1)
单元测试(1)
markdown(1)
ddos(1)
rabbitmq(1)
iis(1)
scikit-learn(1)
ntp(1)
小程序(1)
物联网(1)
hbase(1)
iview ui(1)
腾讯云开发者社区(1)
云计算(1)
kafka(1)
机器学习平台(1)
网站渗透测试(1)
ascii(1)
迁移(1)
fiddler(1)
实时监控(1)
流计算 Oceanus(1)
持续集成(1)
alamofire(1)
async(1)
awk(1)
backup(1)
binary(1)
bind(1)
buffer(1)
build(1)
camera(1)
case(1)
categories(1)
cell(1)
center(1)
cgi(1)
chmod(1)
chrome(1)
click(1)
clock(1)
coding(1)
combinations(1)
comments(1)
connect(1)
console(1)
contains(1)
csv(1)
datasource(1)
datetime(1)
decimal(1)
deferred(1)
dereference(1)
diff(1)
digits(1)
dimensions(1)
directory(1)
distance(1)
document(1)
download(1)
dump(1)
editor(1)
el(1)
elasticsearch(1)
event(1)
exe(1)
extract(1)
fadeout(1)
filenames(1)
filepath(1)
find(1)
footer(1)
format(1)
fs(1)
global(1)
google(1)
grid(1)
handler(1)
header(1)
headless(1)
hidden(1)
hide(1)
ini(1)
inline(1)
insert(1)
installation(1)
int(1)
iptables(1)
ipv4(1)
join(1)
kubectl(1)
lambda(1)
launch(1)
lines(1)
load(1)
localhost(1)
ls(1)
mailto(1)
match(1)
math(1)
memory(1)
merge(1)
message(1)
mkmapview(1)
mmap(1)
mobile(1)
mono(1)
ode(1)
offset(1)
openldap(1)
openpyxl(1)
overflow(1)
paste(1)
patch(1)
pdf(1)
persistence(1)
pickle(1)
pip(1)
point(1)
policy(1)
pool(1)
popover(1)
prefix(1)
private(1)
proc(1)
progress(1)
properties(1)
ps(1)
puppet(1)
pywin32(1)
readfile(1)
redis(1)
reference(1)
refresh(1)
replication(1)
reset(1)
responsive(1)
restore(1)
rewrite(1)
rgb(1)
route(1)
samba(1)
screen(1)
scrum(1)
security(1)
send(1)
sequence(1)
server(1)
setter(1)
smtplib(1)
spam(1)
sqlite3(1)
src(1)
state(1)
status(1)
stderr(1)
string(1)
sum(1)
super(1)
swap(1)
swing(1)
tabs(1)
tail(1)
tar(1)
templates(1)
textarea(1)
threadpool(1)
timedelta(1)
tkinter(1)
tooltip(1)
trace(1)
uri(1)
urllib(1)
valueerror(1)
version(1)
vhosts(1)
vi(1)
viewer(1)
vr(1)
web(1)
wiki(1)
window(1)
xlsx(1)
编译(1)
表格(1)
插件(1)
磁盘(1)
代理(1)
登录(1)
动画(1)
队列(1)
二进制(1)
反向代理(1)
分页(1)
工作(1)
管理(1)
函数(1)
后台(1)
基础(1)
接口(1)
进程(1)
镜像(1)
客户端(1)
内存(1)
排序(1)
事件(1)
索引(1)
同步(1)
文件系统(1)
系统(1)
效率(1)
性能(1)
虚拟主机(1)
语法(1)
域名(1)
指针(1)
重定向(1)
状态机(1)
自动化运维(1)
字符串(1)
搜索文章
搜索
搜索
关闭
python 企业微信发送脚本
日志服务
http
python
编程算法
GIT方式:git clone https://github.com/huangantai/QywxPython.git 1、调用方式: python qywx.py -t text -m 测试消息发送 python qywx.py -t image -m /root/test.png python qywx.py -t voice -m /root/test.amr python qywx.py -t video -m /root/test.mp4 python qywx.py -t file -m /root/test.zip 可以直接脚本调用,也可以在其他python中导入引用。 2、qywx.py import urllib.request import json import requests import logging import os import sys import getopt
用户5760343
2022-05-14
2.1K
0
python 单元测试框架unittest
网站
日志服务
腾讯云测试服务
test case是单元测试中的最小个体。它检查特定输入的响应信息。unittest提供了一个基础类:TestCase,用来创建test case。 test suite是test case的合集,通常用test suite将test case汇总然后一起执行。 test runner是一个执行器,它可以执行case并提供结果给用户。它可以提供图形界面、文本界面或者返回一个值表示测试结果。 1、unittest官方文档:中文https://blog.csdn.net/ljl6158999/article/details/80994979 2、用法:
用户5760343
2022-05-14
342
0
python 并行编程 多线程 锁 信号 条件 事件
网站
日志服务
class threading.Thread(group=None, target=None, name=None, args=(), kwargs={}) import threading
用户5760343
2022-05-13
316
0
python 线程 锁 with
日志服务
import threading import logging logging.basicConfig(level=logging.DEBUG, format='(%(threadName)-10s) %(message)s',)
用户5760343
2022-05-13
393
0
python metaclass ..
日志服务
javascript
python
关于Python2.x中metaclass这一黑科技,我原以为我是懂的,只有当被打脸的时候,我才认识到自己too young too simple sometimes native。
用户5760343
2019-12-13
550
0
python 类装饰器与元类
日志服务
编程算法
def check_attributes(**kwargs): def decorate(cls): for key, value in kwargs.items(): if isinstance(value, Descriptor): value.name = key setattr(cls, key, value) else: setattr(cls, key, value(key)) return cls
用户5760343
2019-12-13
868
0
Docker 生产环境实践2
日志服务
nginx
access
1、3台主机:1台管理机、2台主机、1台日志服务器 管理机上ansible、配置文件、仓库、监控 2台主机安装keepalived 3台主机打通网络 1台日志服务器,原来用splunk+rsyncd收集,后改成elk。 日志服务器备份DB数据 keepalived,redis,java,tomcat,nginx,mysql zabbix,elk
用户5760343
2019-12-13
413
0
python 参数可选的装饰器
日志服务
from functools import wraps, partial import logging
用户5760343
2019-12-12
998
0
python 带参数的装饰器
日志服务
编程算法
from functools import wraps import logging
用户5760343
2019-12-12
2K
0
python 可自定义属性的装饰器
日志服务
编程算法
引入一个访问函数,使用 nonlocal 来修改内部变量。 然后这个访问函数被作为一个属性赋值给包装函数。
用户5760343
2019-12-12
1.4K
0
python 用装饰器重写类的方法
http
日志服务
def log_getattribute(cls): # Get the original implementation orig_getattribute = cls.getattribute
用户5760343
2019-12-12
1.3K
0
python 元类做类型检查
日志服务
class NoMixedCaseMeta(type): def new(cls, clsname, bases, clsdict): for name in clsdict: if name.lower() != name: raise TypeError('Bad attribute name: ' + name) return super().new(cls, clsname, bases, clsdict)
用户5760343
2019-12-12
596
0
Docker 日志管理
容器镜像服务
容器
日志服务
日志管理 image.png docker logs -f xxx logging driver docker info|grep "Logging Driver" image.png 在docker
用户5760343
2019-10-08
784
0
python 函数
mapreduce
日志服务
None <code object tag at 0x000001902D2EA1E0, file "D:/file/python/today/today.py", line 1> ('name', 'cls', 'content', 'attrs') 1
用户5760343
2019-08-02
731
0
python tag生成html标签脚本
日志服务
def tag(name, *content, cls=None, **attrs): """生成一个或多个HTML标签""" if cls is not None: attrs['class'] = cls if attrs: attr_str = ''.join(' %s="%s"' % (attr, value) for attr, value in sorted(attrs.items())) else: attr_str = '' if content: return '\n'.join('<%s%s>%s</%s>' % (name, attr_str, c, name) for c in content) else: return '<%s%s />' % (name, attr_str)
用户5760343
2019-08-02
1.1K
0
python 获取函数的相关信息
日志服务
def tag(name, *content, cls=None, **attrs)->str: """生成一个或多个HTML标签""" if cls is not None: attrs['class'] = cls if attrs: attr_str = ''.join(' %s="%s"' % (attr, value) for attr, value in sorted(attrs.items())) else: attr_str = '' if content: return '\n'.join('<%s%s>%s</%s>' % (name, attr_str, c, name) for c in content) else: return '<%s%s />' % (name, attr_str)
用户5760343
2019-08-02
571
0
python apscheduler 打印日志
日志服务
logging.basicConfig() logging.getLogger('apscheduler').setLevel(logging.DEBUG)
用户5760343
2019-07-05
3.1K
0
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
立即发文
Python精品学习库
代码在线跑,知识轻松学
立即查看
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
立即体验
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
立即查看
领券
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档