How to Automate the process of reading code, computing it and providing the output on web page to the user?
In order to execute the uploaded Python file by the user you have to spawn a Python process from your backend server and pass it the name of file. Pass the arguments the the script also here. Save the output on your server and expose it to the user via a HTTP request.
I want to automate a process in which a python file is uploaded to a web portal by the user(let's say the code is math formula) ,in the back-end the code in the file is computed through different input values that already exists in the back-end and the outputs of the computation will be returned on web-page of the user.?If this is possible then what will be the approach to do this? If possible can we also provide the graphical representation of the different outputs to the user?Or if not then can anyone provide any resource or references or any help that will help me to solve this problem?
!THANKS IN ADVANCE!