[Tutor] webbrowser

Michael Emperador memperad@iaware.org
Tue, 17 Jul 2001 16:08:14 -0700 (PDT)


I am running on Linux Suse7.2.  I have a form(on my personal site) that
calls this cgi script.
Based on input, it will redirect to another page on the server(i.e., a
personal page).  This is what I'm trying to open in a browser. I'm simply
trying to get to a another page based on user input.  I would greatly
appreciate your input and any advice you could share.

Mike


On Tue, 17 Jul 2001, D-Man wrote:

> Date: Tue, 17 Jul 2001 16:17:59 -0400
> From: D-Man <dsh8290@rit.edu>
> To: tutor@python.org
> Subject: Re: [Tutor] webbrowser
>
> On Tue, Jul 17, 2001 at 12:27:45PM -0700, Michael Emperador wrote:
> | I am new to Python and this mailing list.  I have a question that I
> | haven't found in the archives.  I have a cgi script that uses the
> | webbrowser module to open a new browser.  I can run this from the
> | interactive prompt, but when I run the script from the browser, I get the
> | following output in the new browser window:
> |
> | Your Terminal type is unknown!
> |
> |   Enter a terminal type: [vt100]
> | TERMINAL TYPE IS SET TO vt100
> |
> |
> | Any ideas?
>
> What platform are you running on?
>
> What are you trying to do with the script?
>
> BTW, I don't think it makes sense for CGI scripts to run web browsers
> -- CGI scripts run on the server (ie www.foo.com) and not on the
> client's machine (ie your box).
>
> -D
>
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>