Executing a python script for chrome extension angular app

I am trying to execute a python script in chrome extension app that I wrote in angular. I know I need a server to run python script but don’t know how will it run on chrome extension. Any idea or examples that could guide me?