# PetscPythonMonitorSet
Set a Python monitor for a `PetscObject` 
## Synopsis
```
#include "petscsys.h" 
PetscErrorCode PetscPythonMonitorSet(PetscObject obj, const char url[])
```



## See Also
 `PetscPythonInitialize()`, `PetscPythonFinalize()`, `PetscPythonPrintError()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/python/pythonsys.c.html#PetscPythonMonitorSet">src/sys/python/pythonsys.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/python/pythonsys.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
