working python interface sample ;)