And now for something completely boneheaded...

Warren 'The Howdy Man' Ockrassa warren at nightwares.com
Fri Sep 10 12:40:37 EDT 1999


"Eric B." wrote:

> try:
> >>> import sys      #or import <module name>
> >>> dir(sys)          # or dir(<module name>)

Got 'er, thanks. :) When I tried (as suggested by others, in addition to
your posting)

  module.__dict__

lo and behold, those documentation strings which follow functions made a
*lot* more sense...!

Using a language which *encourages* internal documentation like that is
dern near enough to bring a tear to my eye... Beautiful...

--WthmO




More information about the Python-list mailing list