摘要: Python的模块pywin32中的win32gui.SystemParametersInfo()函数在使用win32con.SPI_SETDESKWALLPAPER设置Wallpaper时,其第二个参数为图片路径,图片必须是BMP格式。如下:win32gui.SystemParametersInfo(win32con.SPI_SETDESKWALLPAPER, imagepath, 1+2)否则将报错如下:pywintypes.error: (0, 'SystemParametersInfo', 'No error message is available') 阅读全文
posted @ 2013-11-10 17:07 最后的牛仔 阅读(2230) 评论(1) 推荐(1) 编辑