Exploring python modules:

    $ pyeval 'help(logging)'
    ...

    $ pyeval 'help(logging.handlers.MemoryHandler)'
    ...

Finding the path to a module:

    $ pyeval 'ai.path(logging.handlers)'
    '/.../handlers.py'

Viewing the source of a module:

    $ view $(pyeval 'p(ai.path(logging.handlers))')

Pretty printing sys.path:

    $ pyeval 'sys.path'
    ...

Assigning and using the python version string to a shell variable:

    $ PYVER=$(pyeval 'p("%d.%d" % sys.version_info[:2])')
    $ ls /usr/lib/python${PYVER} | wc -l
