Did I find the right examples for you? yes no

All Samples(5947)  |  Call(5819)  |  Derive(128)  |  Import(0)
Request to exit from the interpreter.

src/n/e/neutron-drive-HEAD/google_appengine/lib/PyAMF/doc/tutorials/examples/gateways/appengine/demo/simplejson/__init__.py   neutron-drive(Download)
        outfile = open(sys.argv[2], 'wb')
    else:
        raise SystemExit("%s [infile [outfile]]" % (sys.argv[0],))
    try:
        obj = load(infile)
    except ValueError, e:
        raise SystemExit(e)

src/p/l/plivoframework-HEAD/src/examples/freeswitch/inbound/inbound_bgapi.py   plivoframework(Download)
        except ConnectError, e:
            log.error("connect failed: %s" % str(e))
            raise SystemExit('exit')
 
        fs_bg_api_string = "originate user/1000 &playback(/usr/local/freeswitch/sounds/en/us/callie/base256/8000/liberty.wav)"
        if not bg_api_response.is_success():
            log.error("bgapi failed !")
            raise SystemExit('exit')
 
        job_uuid = bg_api_response.get_job_uuid()
        if not job_uuid:
            log.error("bgapi jobuuid not found !")
            raise SystemExit('exit')

src/t/w/Twisted-13.2.0/doc/core/examples/sendfd.py   Twisted(Download)
if __name__ == '__main__':
    import sendfd
    raise SystemExit(sendfd.main())
 
import sys
 
    if address.exists():
        raise SystemExit("Cannot listen on an existing path")
 
    if not content.isfile():
        raise SystemExit("Content file must exist")

src/p/y/PyAMF-0.6.1/doc/tutorials/examples/gateways/appengine/demo/simplejson/__init__.py   PyAMF(Download)
        outfile = open(sys.argv[2], 'wb')
    else:
        raise SystemExit("%s [infile [outfile]]" % (sys.argv[0],))
    try:
        obj = load(infile)
    except ValueError, e:
        raise SystemExit(e)

src/p/l/plivoframework-HEAD/src/examples/freeswitch/inbound/inbound_filter.py   plivoframework(Download)
        except ConnectError, e:
            log.error("connect failed: %s" % str(e))
            raise SystemExit('exit')
 
        filter_response = inbound_event_listener.filter("Event-Name CHANNEL_ANSWER")
        log.info(str(filter_response))
        if not filter_response.is_success():
            log.error("filter failed with response %s" % filter_response.get_response())
            raise SystemExit('exit')

src/p/l/plivoframework-HEAD/src/examples/freeswitch/inbound/inbound_concurrent_bgapi.py   plivoframework(Download)
        except ConnectError, e:
            log.error("connect failed: %s" % str(e))
            raise SystemExit('exit')
        if not CONTACTS:
            log.error("No CONTACTS !")
            raise SystemExit('exit')

src/p/l/plivoframework-HEAD/src/examples/freeswitch/inbound/inbound_bgapi2.py   plivoframework(Download)
        except ConnectError, e:
            log.error("connect failed: %s" % str(e))
            raise SystemExit('exit')
 
        fs_bg_api_string = "originate user/1000 &playback(/usr/local/freeswitch/sounds/en/us/callie/base256/8000/liberty.wav)"
        if not bg_api_response.is_success():
            log.error("bgapi failed !")
            raise SystemExit('exit')
 
        job_uuid = bg_api_response.get_job_uuid()

src/p/l/plivoframework-HEAD/src/examples/freeswitch/inbound/inbound_api_notfound.py   plivoframework(Download)
        except ConnectError, e:
            log.error("connect failed: %s" % str(e))
            raise SystemExit('exit')
 
        api_response = inbound_event_listener.api("FALSECOMMAND")
        log.info(str(api_response))
        if not api_response.is_success():
            log.error("api failed with response %s" % api_response.get_response())
            raise SystemExit('exit')

src/p/l/plivoframework-HEAD/src/examples/freeswitch/inbound/inbound_api.py   plivoframework(Download)
        except ConnectError, e:
            log.error("connect failed: %s" % str(e))
            raise SystemExit('exit')
 
        fs_api_string = "originate user/1000 &playback(/usr/local/freeswitch/sounds/en/us/callie/base256/8000/liberty.wav)"
        api_response = inbound_event_listener.api(fs_api_string)
        log.info(str(api_response))
        if not api_response.is_success():
            log.error("api failed with response %s" % api_response.get_response())
            raise SystemExit('exit')

src/p/y/pyamf-HEAD/doc/tutorials/examples/gateways/appengine/demo/simplejson/__init__.py   pyamf(Download)
        outfile = open(sys.argv[2], 'wb')
    else:
        raise SystemExit("%s [infile [outfile]]" % (sys.argv[0],))
    try:
        obj = load(infile)
    except ValueError, e:
        raise SystemExit(e)

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