Ctypes is a very interesting python package which lets you import shared object libraries into python and call them directly. I should say that even though this is called ctypes, it can be used just ...
<link rel="stylesheet" href="./ctypes — A foreign function library for Python — Python 3.8.2 documentation_files/pydoctheme.css" type="text/css"> <link rel ...
windws11 python3 cdio_dll = ctypes.windll.LoadLibrary('cdio.dll') これだとdllが読み込めないので、直接pathを指定したい 結論:ctypes で DLL のフルパスを指定するには、ctypes.WinDLL() または ctypes.CDLL() に絶対パスを渡せばOK。 windll.LoadLibrary() でも動くけれど ...