Did I find the right examples for you? yes no

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

        def urlify(path):
    if (path.startswith("http://")
        or path.startswith("https://")
        or path.startswith("file://")):
        return path
    else:
        return "file://" + abspath(path)
        


src/e/g/Eggsac-0.1.0/eggsac/eggsac.py   Eggsac(Download)
def popen_index_url(args):
    return ["-i", utils.urlify(args.index_url)] if args.index_url else []
 
def virtualenv_setup_command(args, verb, cwd, *pargs, **kwargs):
    with setup_cfg_context_manager(args, cwd):