I need someone to help setup my python framework so the file will run using an AJAX script on my website (HTML) hosted on localhost.
Scope:
1. Setup system so that python file can be run on html website (displaying printed output)
2. I have a local .py file (refer to [login to view URL])
3. I have a [login to view URL] file which references .py file from lines 51 - 67 where xhttp ajax request is used (refer to [login to view URL]) - Refer to screenshot with 500 internal server error
Specs:
- MacOS
- MAMP Apache Server
- Using Python 3.9.5
- Using MAMP 5.3