Python example fixes

Fixing the python examples
Adding a new test for webview functionality.
Improved the verbosity of the python example