Python control kivy app with web interface
<p>I have created a kivy gui for controlling the GPIO Pins of the Raspberry Pi. In the kivy app i import my python file, where i defined my functions for setting the outputs and make calculations. Now i want to control these functions with a web interface, and parallel with my local GUI on a Touchscreen.</p>

<p>I have seen that there exists Frameworks like Flask or Django, my Question is how do i get the connection between my running Framework(like Flask) and the existing functions which are already local used, is there a recommended way?</p>