First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 13 years ago

Jason Grout gravatar image

You can turn off the preparser altogether:

sage: type(1)
<type 'sage.rings.integer.Integer'>
sage: preparser(False)
sage: type(1)
<type 'int'>
click to hide/show revision 2
No.2 Revision

You can turn off the preparser altogether:

sage: type(1)
<type 'sage.rings.integer.Integer'>
sage: preparser(False)
sage: type(1)
<type 'int'>

If you are running sage on a .py file, it should not preparse the file. If it is a .sage file, then preparsing happens by default (but you can turn it off like above, I think).