First time here? Check out the FAQ!
answered 2010-08-19 12:50:28 +0100
The answer; it is impossible to make the notation:
R.<z1,z2> = ZZ[]
work in a .py file, since .py files must be valid Python, and the above isn't. The workaround by niles above is the way to go.