使用Python调用DLL时发现。python报module ‘ctypes’ has no attribute 'util。
解决方案:先导入ctypes,再从ctypes导入util
import ctypes
from ctypes.util import find_library
module ‘ctypes‘ has no attribute ‘util 解决方案
最新推荐文章于 2022-11-16 15:19:09 发布
使用Python调用DLL时发现。python报module ‘ctypes’ has no attribute 'util。
解决方案:先导入ctypes,再从ctypes导入util
import ctypes
from ctypes.util import find_library