Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can turn off the preparser altogether:

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

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).