| Did you know ... | Search Documentation: |
| Predicate py_setattr/3 |
:- use_module(library(janus)).
[det]py_setattr(+Target,
+Name, +Value)
py_setattr(Target, Name, Value) :-
py_call(Target, Obj, [py_object(true)]),
py_call(setattr(Obj, Name, Value)).