You write the code, then run it in a Python compiler. OnlineGDB has Python support.
To get anything more specific your question has to be more specific too. :)
What will your application do? What have you done so far? What's preventing you to progress further?