Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/c/i/ciel-HEAD/src/python/ciel/runtime/util/cat.py   ciel(Download)
import httplib2
from urlparse import urljoin
from ciel.public.references import SWURLReference
 
def main():
        for url in urls:
            if options.json:
                obj = retrieve_object_for_ref(SWURLReference([url]), 'json', None)
                simplejson.dump(obj, sys.stdout, cls=SWReferenceJSONEncoder, indent=4)
                print
            else:
                fh = retrieve_object_for_ref(SWURLReference([url]), 'handle', None)