我是新來的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使用技巧,我能得到以下工作: #