Hi:
I'm new to python and wxpython, and I'm trying to make
a program to send mail. I'm using what follows:
class MyFrame1(wx.Frame):
def __init__(self, *args, **kwds):
...
self.message = wx.TextCtrl(self.panel_1, -1, )
self.button_1 = wx.Button(self.panel_1, -1, SEND
Mail)
...
Lets say i do:
i = f.get_movie('0092411')
No I know the i holds an instance:
i
imdb.Movie.Movie instance at 0x2d7a08
How can I find out the value of all the data this instance has? I can
do a dir(i)
['_Movie__modFunct', '_Movie__movie_data', '_Movie__namesRefs',
'_Movie__titlesRefs',
Bernard Lebel wrote:
Thanks Kent.
I had tried the very same thing, but with a list instead of a tuple,
and got an got this:
dMap[ ['allo','bonjour'] ] = 'salut'
Traceback (most recent call last):
File stdin, line 1, in ?
TypeError: list objects are unhashable
It never crossed my
_ Dan _ wrote:
Hi:
I'm new to python and wxpython, and I'm trying to make
a program to send mail. I'm using what follows:
class MyFrame1(wx.Frame):
def __init__(self, *args, **kwds):
...
self.message = wx.TextCtrl(self.panel_1, -1, )
self.button_1 = wx.Button(self.panel_1,
Greg Kellogg wrote:
Lets say i do:
i = f.get_movie('0092411')
No I know the i holds an instance:
i
imdb.Movie.Movie instance at 0x2d7a08
How can I find out the value of all the data this instance has? I can
do a dir(i)
...
I know there is more info in there than this, is
Just if someone is trying something similar... I did it! Thanks Ismael for your
info!
...
self.label_1 = wx.StaticText(self.panel_1, -1, TO:)
self.label_2 = wx.StaticText(self.panel_1, -1, FROM:)
self.label_3 = wx.StaticText(self.panel_1, -1, SUBJECT)
self.label_4 = wx.StaticText(self.panel_1,
Hello.
I am trying to write a gui that has a lot of checkboxes. It is over 200
different ones. I use a for statement to generate:
ver = 200
for i in ['Car','House','Boat','Plane']:
self.fra26_che01p = Checkbutton (self.fra26)
Øyvind wrote:
Hello.
I am trying to write a gui that has a lot of checkboxes. It is over 200
different ones. I use a for statement to generate:
ver = 200
for i in ['Car','House','Boat','Plane']:
self.fra26_che01p = Checkbutton (self.fra26)
Thanks.. I hoped python had something like that!!!
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor