2021年9月2日
摘要: linux系统关闭celery的命令 ps auxww | grep 'celery' | awk '{print $2}' | xargs kill -9 阅读全文
posted @ 2021-09-02 10:08 wwwpy 阅读(309) 评论(1) 推荐(0) 编辑
摘要: ctypes是Python的一个外部库,提供和C语言兼容的数据类型,可以很方便地调用DLL中输出的C接口函数。 1.加载dll和取出函数 from ctypes import * dll = cdll.LoadLibrary(dllpath) #dllpath是字符串 dll = windll.Lo 阅读全文
posted @ 2021-09-02 09:56 wwwpy 阅读(921) 评论(0) 推荐(0) 编辑