| 1 | initial version |
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.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.