python wxpythonImage模块的问题

Python017

python wxpythonImage模块的问题,第1张

wx的Image中确实没有getNewBitmap这个函数

你可以尝试一下wx.py.images模块下的getPyBitmap()函数,应该效果差不多。

>>>import wx.py.images

>>>help(wx.py.images.getPyBitmap)

Help on function getPyBitmap in module wx.py.images:

getPyBitmap(shellName='PyCrust')

====================================

或者你详细告知一下你要达到什么效果,应该能找到合适的替代函数或方法。

希望能帮到你!

AttributeError: 'module' object has no attribute 'Frame'

错误很明显了,就是说wx模块中没有存在Frame属性,仔细查查wx的文档或源码,

搜一下,存不存在‘Frame’吗!