[pygtk] How to make a browser?
Tim Evans
t.evans at aranz.com
Tue Jun 17 12:32:02 WST 2008
Paolo Bacci wrote:
> Hi, I want to know if there's any functional browser in python.
>
> If not, how can I make it?
There is nothing in python that I would call a functional web browser,
assuming that's what you're asking for. There are gtk widgets like
GtkHTML (http://en.wikipedia.org/wiki/GtkHTML) and ways to embed Firefox
into GTK apps (http://www.mozilla.org/unix/gtk-embedding.html).
Personally, I like reading web pages in my own chosen web browser, not a
low-quality html widget or a bizarre embedded window. I recommend this
code for opening a web page in the user's preferred browser:
import webbrowser
webbrowser.open('http://www.python.org/')
--
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/
More information about the pygtk
mailing list