On Thu, Apr 17, 2008 at 10:48 AM, Reckoner <[EMAIL PROTECTED]> wrote:
>
>  In matlab, if you type
>
>  >> whos
>
>  you will get a list of all the variables defined in the workspace
>  along with their sizes and other descriptive info.
>
>  anything similar in the SAGE notebook interface?
>
>  Thanks in advance.


Hi Reckoner,
in Python (hence Sage) that would be:
  dir()


sage: dir?
Type:           builtin_function_or_method
Base Class:     <type 'builtin_function_or_method'>
String Form:    <built-in function dir>
Namespace:      Python builtin
Docstring:
    dir([object]) -> list of strings

    Return an alphabetized list of names comprising (some of) the attributes
    of the given object, and of attributes reachable from it:

    No argument:  the names in the current scope.
    Module object:  the module attributes.
    Type or class object:  its attributes, and recursively the attributes of
        its bases.
    Otherwise:  its attributes, its class's attributes, and recursively the
        attributes of its class's base classes.


Best,
-- 
 Hector

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to