2010/1/16 Shing Hing Man <mat...@yahoo.com>:
> Hi,
>   In a Sage session (within notebook or command console) ,  how to
> list all the loaded objects and how to remove them from the session ?

Use show_identifiers and reset:

sage: X = 10
sage: show_identifiers()
['X', 'Out', 'variables', 'In', 'view_all']
sage: reset()
sage: show_identifiers()
[]
sag

> I would like to reuse a connection using the simple server API. From
> time to time, I need to clear loaded objects  in the session.
>
> Thanks in advance for any assistance!
>
> Shing
>
> --
> 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
>
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
-- 
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