Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I just learned something - it turns out you CAN do this very easily!

sage: def f(x):
....:         return x^2
....: 
sage: %autoindent
Automatic indentation is: OFF
sage: def f(x):
....:     return x^2
....:

See the IPython documentation for more info, including some warnings. I'm not sure exactly what rc files Sage obeys for its own IPython.