Python equivalent to perldoc?
bobx at linuxmail.org
Wed Sep 18 13:52:00 EDT 2002
Fernando Pérez <fperez528 at yahoo.com> wrote in message news:<am7ngs$rk9$1 at peabody.colorado.edu>...
> Bob X wrote:
> > Skip Montanaro wrote:
> >> Bob> In Perl you can run "perldoc warnings" and get the definition of
> >> Bob> what "warnings" does. Is there a equivalent in Python?
> >> Try "pydoc warnings".
> > What a funny guy! :-)
> $ pydoc warnings
> warnings - Python part of the warnings subsystem.
> class _OptionError(exceptions.Exception)
> | Exception used by option processing helpers.
> ... snipped rest.
> What's funny about it? Looks like exactly what you asked for.
Actually it works on *nix as was the above...but not on Windows XP as was mentioned.
More information about the Python-list