Python CGI - Script outputs source of generated page

Jisrupezers

New Member
I have a CGI script that I wrote in python to use as the home page of the website I am creating. Everything works properly except when you view the page instead of seeing the page that it outputs you see the source code of the page, why is this? I dont mean that it shows me the source code of the .py file, it shows me all the \[code\]print\[/code\]ed information as if I were looking at a .htm file in notepad.
 
Back
Top