<Python> help()

モジュールの中に何の関数があるのか知りたかった。
help()をすればいいらしい。

>python -c "help('matplotlib.finance')"
Help on module matplotlib.finance in matplotlib:

NAME
    matplotlib.finance

DESCRIPTION
    A collection of functions for collecting, analyzing and plotting
    financial data.   User contributions welcome!

    This module is deprecated in 1.4 and will be moved to `mpl_toolkits`
    or it's own project in the future.

FUNCTIONS
    candlestick2_ochl(ax, opens, closes, highs, lows, width=4, colorup='k', colordown='r', alpha=0.75)
        Represent the open, close as a bar line and high low range as a
        vertical line.

        Preserves the original argument order.


        Parameters
        ----------
        ax : `Axes`
            an Axes instance to plot to

なるほど。