run runs away

Nx nomail at nomail.com
Tue Nov 29 08:30:38 EST 2005


Hello 

I think my question is how to make
the script wait until it returns from a call to run()

 
Here is a code snippet:

# next lines calls python2.4 32 bit version 
# from a script running in python2.3 64 bit version
run("python2.4", "dbviewmaster.py") 
# I want the following only to run after
# running of python2.4 has finished 
self.textBrowser1.reload
f = open(self.DBMETA,'r')
for self.getline in f.readlines():
  self.textBrowser1.append(self.getline)
f.close()



Thanks for any hints how to do that.
Nx





More information about the Python-list mailing list