I have a Python Program, I want the program read input text from chrome and return response to the input, you can make this making a google chrome extension.
Chrome extension only allows to write the code in JS. I can convert your python code to JS using Pyjamas. Do you want me to do this. If you want to keep it in Python itself, I'm afraid it is not possible.