Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
使用 pywin32 获取 GUIThreadInfo()
我正在尝试遵循这个答案 https stackoverflow com a 11901591 5510469我已经到了 a 应该打电话的地步 GetGUIThreadInfo 但我找不到pywin32 文档 http timgolden m
python
python3x
Windows
ctypes
pywin32
使用 gdb 加载 ctypes 的调试库
我在 python 中加载了一个 C 库 X so 并使用这些标志进行了编译 GDBFLAGS gdwarf 2 g3 O0 ggdb 我使用 ctypes 从 python 调用它的一些非静态函数 我希望调试 C 库 X so X so
python
debugging
GDB
ctypes
使用 ctypes 处理 128 位整数
使用 Python ctypes 支持 128 位整数 当前为 uint128 t 的最佳方式是什么 可能是两个 uint64 t 的用户定义结构 但这会在需要时产生对齐问题 关于为什么 ctypes 没有扩展到支持 128 位整数有什么想
python
ctypes
int128
将字符串列表从 Python 传递到 Rust
我已经学习 Rust 大约两周了 今天 我进入了它的 FFI 我使用 Python 来玩 Rust 使用 ctypes 和 libc 我传递了整数 字符串 甚至学会了传递整数列表 感谢这个精彩的答案 https stackoverflow
python
Rust
ctypes
FFI
避免模块名称修改的干净方法?
我正在使用 Python 的 ctypes 来连接 C 库文件 运行类型基因 http code google com p ctypesgen 创建一个我可以导入的包装模块 例如 api py 许多 C 函数和宏的名称都以双下划线开头 Py
python
ctypes
为什么此 ctypes 代码不能与 Python 3.3 一起使用,但可以与 Python 2.7 一起使用?
所以我试图制作一个Python 3 3 程序来使用ctypes 模块更改Windows 桌面背景 我在 Python 2 7 中测试了以下代码 它运行得很好 但它不适用于 Python 3 3 我使用的是 Windows 7 代码如下 im
python
python3x
windows7
ctypes
如何使用 ctypes 和基于 ctypes 的枚举正确调用以“自定义枚举”作为参数的函数?
我真的希望一些 Python Ctypes C 专家可以帮助我解决这个问题 这可能是我在使用 Python 与 C 库交互时缺乏正确使用 Ctypes 的类型结构知识 客观的 我需要访问一些库函数 使用 ctypes 加载 DLL 并与之交
python
types
enums
ctypes
python ctype 初始化结构体
我的结构包含所有 unsigned char 元素 typedef struct unsigned char bE unsigned char cH unsigned char cL unsigned char EId1 unsigned
python
Windows
ctypes
将 ctypes 与 jython 一起使用
我在 python 脚本中使用 ctypes lib 时遇到问题 这是我的代码 在互联网上找到 if name main from ctypes import user32 windll user32 kernel32 windll ker
python
Jython
ctypes
Python ctypes 和参数不足(缺少 4 个字节)
我试图调用的函数是 void FormatError HRESULT hrError PCHAR pszText 使用windll 从自定义 dll 中获取 c p c char p windll thedll FormatError er
python
Windows
ctypes
使用 python ctypes.CDLL() 从不同目录加载 .dll 时出错
我必须遵循以下目录结构 MainProject project files rtlsdr rtlsdr dll other dll s etc 我正在使用该功能CDLL 在图书馆ctypes加载rtlsdr dll 当我的工作目录是时它工作
python
ctypes
为什么加载libc共享库时出现“'LibraryLoader'对象不可调用”错误?
From https en wikipedia org wiki Foreign function interface ctypes 模块可以从共享库 DLL 加载 C 函数 即时并在之间自动转换简单数据类型 Python和C的语义如下 i
python
Linux
ctypes
libc
dynamicloading
Ctypes:无法导入windll
我在 Windows 7 64 位上运行 Python 2 7 32 位 Anaconda 我想使用 ctypes 进行 win32 API 调用 但我有一个非常奇怪的问题 我可以import ctypes 但不是import ctypes
python
ctypes
Windll ctypes 从 python 2.7 调用可变参数 c 函数在 win64 中有效,但在 win32 中无效
我在 Windows 10 32 和 Windows 10 64 上使用 Python 2 7 我正在为 C 编译的 stdcall Windows DLL mydll 编写一个 python 包装器 我有 2 个版本的 DLL 32 位和
python
Windows
ctypes
32bit64bit
variadicfunctions
为什么需要 __declspec(dllexport) 才能从 ctypes 访问某些函数?
所以我正在学习使用Python ctypes 模块 这是我在 Windows 上使用 gcc shared 版本 4 8 编译的简单 C 文件 以获取示例 dll include
python
Windows
gcc
dll
ctypes
如何使用 Tuple/Array/Vector 从 Python (ctypes) 调用 PARI/GP?
我想打电话PARI GP来自Python 我需要使用ellisdivisible E P n Q 帕里的功能 请参阅此链接中第 441 页的第 3 15 35 号功能 所以我必须传递 2 个向量或数组 例如 E ellinit 0 1 1
c
ctypes
Pari
如何在 Python 中使用 ctypes 卸载 DLL?
我正在使用 ctypes 在 Python 中加载 DLL 这很好用 现在我们希望能够在运行时重新加载该 DLL 直接的方法似乎是 1 卸载DLL 2 加载DLL 不幸的是我不确定卸载 DLL 的正确方法是什么 ctypes FreeLib
python
dll
ctypes
Ctypes:获取指向结构体字段的指针
我需要获取带有结构字段地址的指针 重要提示 我正在为一组 C 结构构建序列化器 因此我想迭代结构的字段并获取每个结构的地址作为指针 我知道有一种方法使用 fields 对象和它们的 offset 属性 它可以为您提供距结构本身地址的偏移量
python
pointers
struct
ctypes
如何使用ctypes的errcheck?
The Python 库参考 版本 3 6 5 第 16 16 段 ctypes Python 的外部函数库 给出这个例子 证明输出参数 在部分函数原型 赢32获取窗口矩形功能 WINUSERAPI BOOL WINAPI GetWindo
python
ctypes
Python - Windows SystemParametersInfoW 与 SystemParametersInfoA 函数之间的区别
尽管我对 Stack Overflow 及其他领域进行了研究 但我有一个似乎无法澄清的问题 我的问题涉及 Windows SystemParametersInfo 函数及其与 Python 3 x 脚本相关的变体 SystemParamet
python
Windows
Unicode
ctypes
32bit64bit
«
1 ...
4
5
6
7
8
9
10
»