Set a Python attribute on an object. If Target is an atom, it 
is interpreted as a module. Otherwise it is normally an object 
reference. py_setattr/3 allows 
for chaining and behaves as if defined as
py_setattr(Target, Name, Value) :-
    py_call(Target, Obj, [py_object(true)]),
    py_call(setattr(Obj, Name, Value)).
- Compatibility
- PIP