run runs away

Fredrik Lundh fredrik at pythonware.com
Tue Nov 29 10:16:41 EST 2005


"Nx" wrote:

> 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.

what's "run" ?

>>> run("python2.4", "dbviewmaster.py")
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
NameError: name 'run' is not defined

</F>






More information about the Python-list mailing list