@Properties(inherit=python.class,value={@Platform(executable="python3.7"),@Platform(value="macosx",executable="python3.7"),@Platform(value="windows",executable="python")}) public class python extends Object
python
program ready for execution.
For example, we can print the module search path from Java in a portable fashion this way:
String python = Loader.load(org.bytedeco.cpython.python.class);
ProcessBuilder pb = new ProcessBuilder(python, "-m", "site");
pb.inheritIO().start().waitFor();
Copyright © 2020. All rights reserved.