Re: [Tutor] print to file probelm

2011-08-15 Thread Prasad, Ramit
Hi John, Just as a note, I am looking at the included scripts (and not the linked scripts). I believe the problem you are having is with the lines below. for i in range(len(faces)): f = faces[flist[i]] n = normals[flist[i]] s = s + ",%d" % len(f) for v in f: s = s

Re: [Tutor] print to file probelm

2011-08-15 Thread Peter Otten
John Collins wrote: > Hi, > I'm a baffled beginner. The script below is one of a suite of scripts > written by Simon Tatham a decade ago; > http://www.chiark.greenend.org.uk/~sgtatham/polyhedra/ > http://www.chiark.greenend.org.uk/~sgtatham/polyhedra/polyhedra.tar.gz > > OS: WinXP > Py Ver: 2

[Tutor] print to file probelm

2011-08-15 Thread John Collins
Hi, I'm a baffled beginner. The script below is one of a suite of scripts written by Simon Tatham a decade ago; http://www.chiark.greenend.org.uk/~sgtatham/polyhedra/ http://www.chiark.greenend.org.uk/~sgtatham/polyhedra/polyhedra.tar.gz OS: WinXP Py Ver: 2.7 Script: canvas.py It reads fro