2020
11-11
11-11
python调用win32接口进行截图的示例
python的版本及依赖的库的安装#版本python3.7.1pipinstallpywin32==224pipinstallnumpy==1.15.3pipinstallopencv-python==3.4.2.16pipinstallopencv-contrib-python==3.4.2.16pipinstallPillow-PIL==0.1.dev0对后台窗口截图#对后台窗口截图importwin32gui,win32ui,win32confromctypesimportwindllfromPILimportImageimportcv2importnumpy#获取后台窗口的句柄,注意后台窗口不能最小化hWnd=win32gui.FindW...
继续阅读 >