Help with optionparse recipe

Stephen Boulet stephen.no at spam.theboulets.net.please
Tue Jul 27 09:40:01 EDT 2004


Michele Simionato wrote:

> It is the docstring. Try with this:
> 
> """An example script invoking optionparse, my wrapper around optparse.
> 
> usage: %prog [options] args
> -f, --file=FILE: file to attach
> -s, --subject=SUBJECT: email subject
> -a, --address=ADDRESS: email address
> """

Thanks!

-- 

Stephen      

If your desktop gets out of control easily,
you probably have too much stuff on it that
doesn't need to be there.
         Donna Smallin, "Unclutter Your Home"



More information about the Python-list mailing list