Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Error message: End of script output before headers: pythonprogram.py

Using a Python program running through XAMPP (Apache and MySQL) to try and get code running on a browser, however it is giving me the typical

Error message: 
End of script output before headers: mainmenu.py

The other answers I saw have been for PHP, and not Python. How do I fix this for a Python program?

Comments