[wxPython-users] Re: two questions about XRC
Robin Dunn
robin at alldunn.com
Mon Oct 2 11:38:25 PDT 2006
John Salerno wrote:
> Josiah Carlson wrote:
>> John Salerno <johnjsal at NOSPAMgmail.com> wrote:
>>> Josiah Carlson wrote:
>>>
>>>> xrc is a subpackage of wx. So you can use...
>>>>
>>>> import wx
>>>> import wx.xrc
>>>> wx.xrc.XmlResource
>>> Thanks for the answers. import wx.irc makes sense now that you
>>> mention it. But calling wx.xrc.XmlResource does not work.
>>
>> Works for me:
>
> I get an error that the module has no attribute 'xrc'
Did you import both wx and wx.xrc, or just wx?
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list