Regarding a module

hey every1 im still new to python,

can some1 tell me what does the module “OptionParser”
and what does “parser = OptionParser(option_class=eng_option)
parser.add_option” mean? is there a command to view the module?

thanks alot for your time

View this message in context:
http://www.nabble.com/Regarding-a-module-tf3935524.html#a11161807
Sent from the GnuRadio mailing list archive at Nabble.com.

bellzii schrieb:

can some1 tell me what does the module “OptionParser”
and what does “parser = OptionParser(option_class=eng_option)
parser.add_option” mean? is there a command to view the module?

A reasonable good IDE should present you the inline documentation. If
not, use the command line interactive python shell (“python”), and do
(without ">>> "):

import optparse
help(optparse)
dir(optparse)

I use pyalamode from wxWidgets to browse code and inline documentation.

Patrick