Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/y/python-kmos-0.3.6/kmos/cli.py   python-kmos(Download)
        import kmos.types
        import kmos.io
        from kmos.io import ProcListWriter
 
        if len(args) < 2:
        project.import_xml_file(xml_file)
 
        writer = ProcListWriter(project, export_dir)
        writer.write_settings()
 
        elif not os.path.isdir(args[2]):
            raise UserWarning("Cannot overwrite %s; Exiting;" % args[2])
        writer = kmos.io.ProcListWriter(pt, args[2])
        writer.write_settings()