Invoking Python from Python

Thomas Guettler niemand.leermann at thomas-guettler.de
Tue Nov 8 11:21:12 EST 2005


Am Tue, 08 Nov 2005 08:10:25 -0800 schrieb John Henry:

> Hi all,
> 
> I have a need to create a Python script on the fly from another Python
> program and then execute the script so created.  Do I need to invoke
> Python through os.spawnl or is there a better way?

Hi,

creating source code with a script, is no good solution. 

Once I had to maintain lisp code which stored its data in lisp code, too
(incl. conditions and loops). It was a nightmare.

Please explain what you want to do, and we will find a better solution.

 HTH,
  Thomas

-- 
Thomas Güttler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: niemand.leermann at thomas-guettler.de




More information about the Python-list mailing list