A little more research wouldn't come
Richard, how about noting that the sample code uses Python bindings? Your posts recently are distinctly lacking in this kind of information which gives the impression that you have little or no idea what you're writing about. I hope this is wrong.