[sage-support] Re: Help me out from PolynomialRing Error!

2009-04-28 Thread William Stein
On Tue, Apr 28, 2009 at 3:14 AM, wrote: > > Dear Sajan.S, > > On Apr 28, 6:31 am, "Sajan.S" wrote: >> Dear sir, >> >> P.< y0, y1, x0, x1> = PolynomialRing(GF(3),4,order='lex'); >> >> is working in interactive python shell. >> >> but not working in python script file executed at command prompt

[sage-support] Re: Help me out from PolynomialRing Error!

2009-04-28 Thread simon . king
Dear Sajan.S, On Apr 28, 6:31 am, "Sajan.S" wrote: > Dear sir, > > P.< y0, y1, x0, x1> = PolynomialRing(GF(3),4,order='lex'); > > is working in interactive python shell. > > but not working in python script file executed at command prompt This is because the interactive shell has a preparser. H