Tried Ruby (or, "what Python *really* needs" or "perldoc!")
paul at boddie.org.uk
Wed Mar 15 15:56:23 CET 2006
> But, if Python would match Perl for docs available on the command-line,
> then I'd have it all at my fingertips. I simply don't understand why
> this is not being done. When I'm coding in C, I use the manpages on the
> remote host so that I know the docs are correct for my target. Why
> can't I do that in Python?
What about pydoc?
% pydoc os
Help on module os:
os - OS routines for Mac, DOS, NT, or Posix depending on what
system we're on.
> It's yet another thing that my Perl-using coworkers point out as a Python weakness.
In my experience, Perl-using coworkers tend to dredge up all sorts of
"weaknesses", although many of them are no more than cheap shots: the
name, whitespace, and so on. Sure, Python's documentation system could
be better, but let's consider the tools we already have first.
More information about the Python-list