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

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

src/o/p/OpenPyCR-HEAD/openpycr.py   OpenPyCR(Download)
def send(device, args):
    with args.program_file as InF:
        program = InF.read().strip()
    program = PCRCompiler.parse_program(program)
    device.sendprogram(program)
def pcrcompile(device, args):
    with args.program_file as InF:
        print(PCRCompiler.parse_program(InF.read()))
 
P = argparse.ArgumentParser(