Did I find the right examples for you? yes no

All Samples(7344)  |  Call(0)  |  Derive(0)  |  Import(7344)
A powerful, extensible, and easy-to-use option parser.

By Greg Ward <gward@python.net>

Originally distributed as Optik.

For support, use the optik-users@lists.sourceforge.net mailing list
(http://lists.sourceforge.net/lists/listinfo/optik-users).

Simple usage example:(more...)

src/l/a/latimes-appengine-template-HEAD/appengine_template/google_appengine/lib/webob/docs/comment-example-code/example.py   latimes-appengine-template(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT BASE_DIRECTORY'

src/h/u/hue-HEAD/desktop/core/ext-py/python-openid-2.2.5/examples/server.py   hue(Download)
 
    try:
        import optparse
    except ImportError:
        pass # Use defaults (for Python 2.2)

src/h/u/hue-HEAD/desktop/core/ext-py/python-openid-2.2.5/examples/consumer.py   hue(Download)
 
    try:
        import optparse
    except ImportError:
        pass # Use defaults (for Python 2.2)

src/p/u/puq-2.2.2/examples/discontinuous/dome/dome_prog.py   puq(Download)
#!/usr/bin/env python
 
import optparse
from puqutil import dump_hdf5
import numpy as np

src/p/u/puq-2.2.2/examples/discontinuous/ddome/sin_prog.py   puq(Download)
"""
 
import optparse
from puqutil import dump_hdf5
import time

src/p/u/puq-2.2.2/examples/discontinuous/1dsin/sin.py   puq(Download)
#!/usr/bin/env python
 
# discontinuous sine function
 
import optparse

src/g/o/google-app-engine-HEAD/lib/yaml/examples/yaml-highlight/yaml_hl.py   google-app-engine(Download)
#!/usr/bin/python
 
import yaml, codecs, sys, os.path, optparse
 
class Style:

src/g/o/google-app-engine-HEAD/lib/webob_0_9/docs/wiki-example-code/example.py   google-app-engine(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT'

src/g/o/google-app-engine-HEAD/lib/webob_0_9/docs/comment-example-code/example.py   google-app-engine(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT BASE_DIRECTORY'

src/a/p/appscale-original-HEAD/AppServer/lib/yaml/examples/yaml-highlight/yaml_hl.py   appscale-original(Download)
#!/usr/bin/python
 
import yaml, codecs, sys, os.path, optparse
 
class Style:

Previous  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next