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/m/o/MOL-HEAD/lib/google_appengine/lib/yaml/examples/yaml-highlight/yaml_hl.py   MOL(Download)
#!/usr/bin/python
 
import yaml, codecs, sys, os.path, optparse
 
class Style:

src/m/o/MOL-HEAD/lib/google_appengine/lib/webob/docs/wiki-example-code/example.py   MOL(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT'

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

src/s/p/Spatial-Data-Library-HEAD/lib/google_appengine/lib/yaml/examples/yaml-highlight/yaml_hl.py   Spatial-Data-Library(Download)
#!/usr/bin/python
 
import yaml, codecs, sys, os.path, optparse
 
class Style:

src/s/p/Spatial-Data-Library-HEAD/lib/google_appengine/lib/webob/docs/wiki-example-code/example.py   Spatial-Data-Library(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT'

src/s/p/Spatial-Data-Library-HEAD/lib/google_appengine/lib/webob/docs/comment-example-code/example.py   Spatial-Data-Library(Download)
 
if __name__ == '__main__':
    import optparse
    parser = optparse.OptionParser(
        usage='%prog --port=PORT BASE_DIRECTORY'

src/o/h/oh-mainline-HEAD/vendor/packages/python-openid/examples/server.py   oh-mainline(Download)
 
    try:
        import optparse
    except ImportError:
        pass # Use defaults (for Python 2.2)

src/o/h/oh-mainline-HEAD/vendor/packages/python-openid/examples/consumer.py   oh-mainline(Download)
 
    try:
        import optparse
    except ImportError:
        pass # Use defaults (for Python 2.2)

src/l/a/latimes-appengine-template-HEAD/appengine_template/google_appengine/lib/yaml/examples/yaml-highlight/yaml_hl.py   latimes-appengine-template(Download)
#!/usr/bin/python
 
import yaml, codecs, sys, os.path, optparse
 
class Style:

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

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