DatePickerCtrl 是否已更新为适用于 Python 3.4、wxPython_Phoenix 3.0.3 和 Windows 7 [英] Is DatePickerCtrl been update to work with Python 3.4, wxPython_Phoenix 3.0.3 and Windows 7
问题描述
我使用的是 Python 3.4、wxPython_Phoenix-3.0.3 和 windows 7(64 位).我发布了我的系统无法识别 wx.DatePickerCtrl 的先前问题,提供以下消息:test8010.py", line 10, in initself.datepick = wx.DatePickerCtrl(self.panel,-1, pos=(20,15),AttributeError: 'module' 对象没有属性 'DatePickerCtrl'.
I am using Python 3.4, wxPython_Phoenix-3.0.3 and windows 7 (64 bit). I posted a prior issue with my system not recognizing wx.DatePickerCtrl providing the following message: test8010.py", line 10, in init self.datepick = wx.DatePickerCtrl(self.panel,-1, pos=(20,15), AttributeError: 'module' object has no attribute 'DatePickerCtrl'.
我突然想到 DatePickerCtrl 可能不适用于 Python 3.4.有人知道吗?非常感谢一个新手.
The it occurred to me that maybe DatePickerCtrl does not work with Python 3.4. Does anyone know? Thanks a bunch from a newby.
迈克尔
推荐答案
是的,但在 Phoenix 中是在 wx.adv 中,请参阅:http://wxpython.org/Phoenix/docs/html/adv.1classindex.html
Yes, but in Phoenix it is in wx.adv, see: http://wxpython.org/Phoenix/docs/html/adv.1classindex.html
关于 Phoenix 更改的另一个很好的文档页面是:http://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html
Another good documentation page for changes in Phoenix is: http://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html
这篇关于DatePickerCtrl 是否已更新为适用于 Python 3.4、wxPython_Phoenix 3.0.3 和 Windows 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!