.zip .tar

see

An alternative to Python’s dir function.
Easy to type; easy to read! For humans only.

Latest release: v1.1.1 / 2015-04-17

Install

To install see, run:

# pip install --upgrade see

Alternatively, to install from source:

# python setup.py install

Usage

see is designed for the interactive Python interpreter. Import the see function like so:

>>> from see import see

Call see() without arguments to see all objects in the global scope.

>>> foo = 'bar'
>>> see()
    foo      see()

Call see(an_object) to see what you can do with an_object.

>>> number = 1
>>> see(number)
    +             -             *             /             //            %
    **            <<            >>            &             ^             |
    +obj          -obj          ~             <             <=            ==
    !=            >             >=            abs()         bool()
    divmod()      float()       hash()        help()        hex()
    int()         long()        oct()         repr()        str()
    .bit_length()               .conjugate()  .denominator  .imag
    .numerator    .real

If you don’t want to manually import see every time you run the interpreter, you can make a Python startup file containing this line. Information on how to do this is in the README file.

Download

The latest source code can be found on GitHub. You can clone the project with Git by running:

$ git clone git://github.com/inky/see

Info

Copyright © 2009–2015 Liam Cooke. Licensed under the BSD License.

Change Log  •  Contributors  •  Python Package Index