PetscPythonInitialize#
Initialize Python for use with PETSc and import petsc4py.
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscPythonInitialize(const char pyexe[], const char pylib[])
Input Parameters#
pyexe - path to the Python interpreter executable, or
NULL
.pylib - full path to the Python dynamic library, or
NULL
.
See Also#
Level#
intermediate
Location#
Examples#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages