What is the command-line to print the docstrings in a given Python file?
I thought there was something like:
$ python --showhelp foo.py
Name Help
--------------------------------------------------
bar This is the docstring for bar().
baz This is the docstring for baz().

print ClassName.__doc__orprint ClassName.Method.__doc__- meaning that you could fairly easily make a parser. – nerdwaller Aug 27 '13 at 01:16