我是新来的Python和蟒蛇 我使用Windows 10和Python 3.5 用命令安装GDAL后(在巨蟒提示) >conda install -c conda-forge gdal 蟒蛇导航仪已经不启动,我得到的错误信息: pythonw: This application failed to start because it could not find or load the Qt pla
我想用ctypes来包装C函数,它返回一个未知大小的字符数组。该功能是from the gdal c api,但我的问题不是特定于该功能。 我想知道是否有一种解构函数的输出的一般方法,返回一个未知大小的char **数组对象。在ctypes中,这将是POINTER(c_char_p * X),其中X未知。 从answer to a similar question使用技巧,我能得到以下工作: #