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/n/e/neutron-drive-HEAD/google_appengine/lib/webob_1_1_1/docs/jsonrpc-example-code/jsonrpc.py   neutron-drive(Download)
def main(args=None):
    import optparse
    from wsgiref import simple_server
    parser = optparse.OptionParser(
        usage='%prog [OPTIONS] MODULE:EXPRESSION')

src/n/e/neutron-drive-HEAD/google_appengine/lib/webob_1_1_1/docs/comment-example-code/example.py   neutron-drive(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT BASE_DIRECTORY'

src/n/e/neutron-drive-HEAD/google_appengine/lib/webob_0_9/docs/wiki-example-code/example.py   neutron-drive(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT'

src/n/e/neutron-drive-HEAD/google_appengine/lib/webob_0_9/docs/comment-example-code/example.py   neutron-drive(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT BASE_DIRECTORY'

src/d/a/Darwin-Core-Engine-HEAD/lib/google_appengine/lib/yaml/examples/yaml-highlight/yaml_hl.py   Darwin-Core-Engine(Download)
#!/usr/bin/python
 
import yaml, codecs, sys, os.path, optparse
 
class Style:

src/d/a/Darwin-Core-Engine-HEAD/lib/google_appengine/lib/webob/docs/wiki-example-code/example.py   Darwin-Core-Engine(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT'

src/d/a/Darwin-Core-Engine-HEAD/lib/google_appengine/lib/webob/docs/comment-example-code/example.py   Darwin-Core-Engine(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT BASE_DIRECTORY'

src/g/a/gaeframework-2.0.10/google_appengine/lib/yaml/examples/yaml-highlight/yaml_hl.py   gaeframework(Download)
#!/usr/bin/python
 
import yaml, codecs, sys, os.path, optparse
 
class Style:

src/g/a/gaeframework-2.0.10/google_appengine/lib/webob/docs/wiki-example-code/example.py   gaeframework(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT'

src/g/a/gaeframework-2.0.10/google_appengine/lib/webob/docs/comment-example-code/example.py   gaeframework(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT BASE_DIRECTORY'

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