How to launch a browser window

Bengt Richter bokr at oz.net
Tue Dec 31 14:34:10 EST 2002


On Mon, 30 Dec 2002 15:31:50 +0100, "A" <printers at sendme.cz> wrote:

>Hi all,
>Can you let me know please how I can
> launch, from Python, a web browser window without any toolbars and menus?

Do you mean running python from the command line or equivalent,
or do you mean Python as cgi that serves something that will look like what you want?

You might consider writing a temp file with html in it
containing javascript to create a plain popup window on load. I'm not sure if
you can make the original disappear. Haven't tried that.
Then just launch the browser to display that html file. BTW, note that there are
security issues in creating temp files.

Regards,
Bengt Richter



More information about the Python-list mailing list