E
export
Does anyone know
how to lanch a webbrowser ( from Python) without menu and toolbars?
Thanks for help
Lad
how to lanch a webbrowser ( from Python) without menu and toolbars?
Thanks for help
Lad
Does anyone know
how to lanch a webbrowser ( from Python) without menu and toolbars?
Thanks for help
Lad
Does anyone know
how to lanch a webbrowser ( from Python) without menu and toolbars?
This would indeed be the best way. The page you launched should containOla said:You've got the webbrowser module which lauches the OS's standard browser
from webbrowser import get
get("www.example.org")
launches the webbrowser, but how to launch it without menu and toolbar I
don't know. You could launch a small HTML page containing a javascript
that launches your wanted page.
Steve said:This would indeed be the best way. The page you launched should contain
a script that creates another window. Since this would be browser-based
javascript, it could specify the appropriate browser window attributes
(see, for example
http://www.javascripter.net/faq/openinga.htm
which shows you how to specify the appropriate window characteristics).
The onload attribute of the first page's body could then specify closing
the window you opened from Python.
You may find that this close operation generates a warning from the
browser about scripts doing naughty things, however.
regards
Steve
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.