On Tue, Apr 5, 2011 at 1:47 PM, tvn <nguyenthanh...@gmail.com> wrote:
> Is there a timeout mechanism in Sage or Python that allows me to kill or
> raise an exception on a command that exceeds some time threshold ?

You probably want "alarm", which raises a KeyboardInterrupt.


Doug

-- 
Department of Earth Sciences
University of Hong Kong

-- 
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
URL: http://www.sagemath.org

Reply via email to