ode>.</p> <h2 id="invoke-python-from-javascript"><a href="#invoke-python-from-javascript" class="header-anchor">#</a> Invoke Python from Javascript</h2> <p>Invoking Python functions from Javascript can be done with two different approaches.</p> <ul><li>by exposing an instance of a Python class to the <code>js_api</code> of <code>create_window</code>. All the callable methods  of the class will be exposed to the JS domain as <code>pywebview.api.method_name</code> with correct parameter signatures. Method nam