Hello,

I have a simple wx app that I need some help with. This application uses the
serial ports to communicate with an industrial product. I first check that
my python application is compatible with the industrial product by asking
the industrial product for its revision number. If the revision number is
too old I want to kill my python application and launch an older python
application. To do this I am using the following:

 

# launch old program

execfile('theoldpythonprogram.py')

# kill this App (wx.Frame object)

self.Destroy()

 

The problem is that the self.Destroy() seems to kill both the current python
program and the one I just launched. How can I launch a new program and kill
the current one without killing the new one as well?

 

Thanks!

 

Jeff

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to