python bindings: howto examples