It seems that python scripting is not working in dev300m103 as it was the case with LibO 3.3.0 (https://bugs.freedesktop.org/show_bug.cgi?id=33355). (Maybe the fix is not in 3.4 yet?)