Пример #1
0
def rofl_file_to_codeobj (src_path, *args, **kws):
    return backend.codegen_module_co(frontend.parse_file(src_path, **kws),
                                     *args, **kws)
Пример #2
0
def rofl_file_to_source (src_path, *args, **kws):
    return backend.codegen_module_src(frontend.parse_file(src_path, **kws),
                                      *args, **kws)