IntCtrl doesn't found? and arrays (newbie)

T

tontudelbot

Hello,
I'm a newbie doing my first program. I'm doing the GUI of it and I need
IntCtrl. I do:
wx.IntCtrl(self, id=wx.NewId(), min=1, max=9)
but Python says:
AttributeError: 'module' object has no attribute 'IntCtrl'
I tried doing this like I find somewhere else, but the result is the
same..:
wx.lib.intctrl.IntCtrl
Huh? I have to import it from another side?

Another question: I have to do an array, and I thing what I need and
adjust more for me is the method array from Numeric module. But there
is another form to do the same best?

Thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,128
Latest member
ElwoodPhil
Top