The problem is the line

    Gamma=DirichletGroup(p^e)

The file 'test.py' is treated as pure Python, and the '^' operator is not 
exponentation in Python: it's bitwise exclusive or. Sage uses slightly 
modified Python syntax: see 
http://www.sagemath.org/doc/tutorial/programming.html#loading-and-attaching-sage-files,
 
for example. If you change this to

    Gamma=DirichletGroup(p**e)

it should work consistently in the two settings.

-- 
John


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to