摘要: __instancecheck__、__subclasscheck__、__subclasshook__ __instancecheck__:需要定义在元类中,当使用isinstance时,会调用__instancecheck__ __subclasscheck__:需要定义在元类中,当使用issu 阅读全文
posted @ 2025-01-04 14:12 liDB 阅读(19) 评论(0) 推荐(0)
摘要: connection connection = BlockingConnection(ConnectionParameters(host='xxx', port=xxx, credentials=PlainCredentials(username='xxx', password='xxx'))) c 阅读全文
posted @ 2025-01-04 11:29 liDB 阅读(23) 评论(0) 推荐(0)
摘要: gdb 下载libpython.py文件到服务器目录,比如:/root/utils/libpython.py 进入gdb命令,加载好libpython (gdb) python >import sys >sys.path.insert(0,"/root/utils") >import libpyth 阅读全文
posted @ 2025-01-04 10:38 liDB 阅读(232) 评论(0) 推荐(0)