How to open a HTML file when the python cgi program is executing?

Ken ken at hotmail.com
Sat Jun 1 04:16:28 EDT 2002


"Daniel Yoo" <dyoo at hkn.eecs.berkeley.edu> wrote in message
news:ad9uv4$g2n$2 at agate.berkeley.edu...
> Ken <ken at hotmail.com> wrote:
> : How do I open a HTML file when the cgi program is executing?
>
> : The only method I can think of, which doesn't work is this:
> : <meta HTTP-EQUIV="REFRESH" CONTENT="0; URL=main.html">
>
> Not quite sure I understand yet.
>
>
> Do you have a file called 'main.html' that you're trying to display
> from your CGI program?  I just want to make sure we're work on the
> same problem here before babbling.  *grin*
>
>
> Talk to you later!

Yes, I want to display the content of another html file (main.html in this
example) onto the browser. How do I do that? And also, how do I set target
to which frame to display?

Thanks





More information about the Python-list mailing list