PythonCompiler (Jython API documentation)
Date: 2022-09-10

org.python.core

## Interface PythonCompiler

-     public interface PythonCompiler

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `PythonCodeBundle` | `compile(org.python.antlr.base.mod node, java.lang.String name, java.lang.String filename, boolean linenumbers, boolean printResults, CompilerFlags cflags)`

- - ### Method Detail

    - #### compile

          PythonCodeBundle compile(org.python.antlr.base.mod node,
                                   java.lang.String name,
                                   java.lang.String filename,
                                   boolean linenumbers,
                                   boolean printResults,
                                   CompilerFlags cflags)
                            throws java.lang.Exception

      Throws:
        `java.lang.Exception`

Jython homepage