there was a request for some documentation about using python in YaST.
It is possible to use ui-bindings for creating UI. Short example you can find here: http://mzugec.blogspot.com
How to use python-bindings:
How to use python-bindings with YaST UI: