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()