create a tmp file for system execution

Jürgen Hermann jhe at webde-ag.de
Wed May 29 11:55:40 EDT 2002


erict at millfilm.co.uk (Eric Texier) wrote in 
<3CF4E711.8A175798 at millfilm.co.uk>:

>I have a py script executing a bunch of os.system in a loop.
>It is not very fast and I was wondering if it will not be better
>to recreate a execution file.

An even better way is to not require os.system() at all. Many jobs can be 
done in pure Python, and then are also more portable than relying on 
external tools.



More information about the Python-list mailing list