Two more basic questions I'm hoping you can help with:

1. My workstyle so far is to edit my .sage file in emacs and then load
it into sage on the command line.  Sometimes I want my program to stop
in the middle so I can more closely examine/verify what it's doing.
I've been inserting a line that just says "stop" to do this and it
causes sage/Python to stop with an error message and a short stack
trace.  This works, but it's kind of messy.  "raise Exception
('spam','eggs')" does pretty much the same thing.  Is there a way to
tell sage/Python to stop running without raising an error?

2. Is there a way to "reset" sage/Python from the command-line as if I
was restarting?  I can't even find a command that will clear all my
global variables, although that might be enough.

Any help will be much appreciated!

Thanks, Doug
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to