[wxPython-users] parameters functions

Christopher Barker Chris.Barker at noaa.gov
Fri Mar 30 12:16:58 PDT 2007


syhsolutions at comcast.net wrote:
> Chris,
> thanks for the response. I tried what you suggested and I got this error:
> os.kill(self.Child1.pid,15) AttributeError: 'MyFrame' object has no attribute 'Child1'

Then you must not have a Child1 attribute. In my posted code:

>> self.Child1pid = child1.pid


This defined a "Child1pid" attribute. It could (and maybe should) have been:

self.Child1= child1

then your call should work.

-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list