Hi, I can do your project on this way, page will display in browser and will show loading gif, in the same time will send ajax request to read python script , when return answer will display result and hide gif image, for ajax request I will use jquery. If you have a question, please contact me, my working hours are from 10 to 18 GMT+1. Regards