public class _py_compile
extends java.lang.Object
Constructor and Description |
---|
_py_compile() |
Modifier and Type | Method and Description |
---|---|
static boolean |
compile(PyString fileName,
PyString compiledName,
PyString displayName)
Java wrapper on the module compiler in support of of py_compile.compile.
|
static java.lang.String |
getModuleName(java.io.File f) |
public static PyList __all__
public static boolean compile(PyString fileName, PyString compiledName, PyString displayName)
fileName
- actual source file namecompiledName
- compiled filenamedisplayName
- displayed source filename, only used for error messages (and not resolved)public static final java.lang.String getModuleName(java.io.File f)