[lammps-users] os.popen2 is *very* slow in python2.3 (very off-topic)

Hi all.

I have a very off-topic question, but I figured maybe some people here have tried to do similar things and maybe have encountered similar problems?

I am using the os.popen2 python function to invoke some auxiliary code (it does delaunay triangulation, but that's not important).
--------------------------- code snippet ---- "atoms" is a list of pizza.py atoms --------------------
     input,output=os.popen2("qdelaunay QJ i")
     cmdstr=("2\n"+str(len(atoms))+"\n")
     for a in atoms:
         cmdstr+=str(a[2])+" "+str(a[3])+"\n"
     input.write(cmdstr)
     input.close()
     qhDat=output.readlines()
     output.close()

No ideas, except that I would expect an Opteron to
be much faster than a G4, independent of the
version of Python.

Steve