GUI definition for web and desktop

Daniel Fetchinson fetchinson at googlemail.com
Sun Feb 3 15:33:47 EST 2008


> >> On the other hand, if you want pure HTML for your web app, maybe you
> should
> >> consider making the desktop app HTML-based, too?
> >
> > Jorge Godoy brought that up too, sounds pretty good, but how would
> > that work? The desktop app would launch a mini webserver and the user
> > would use his/her browser that connnects to the local web server?
>
> That's a common solution. There's the webbrowser module, which allows you to
> start a webbrowser in a platform independent way. The rest would be server
> driven.
>
> http://docs.python.org/lib/module-webbrowser.html
>
>
> > is there a GUI toolkit library for python which can render html?
>
> At least GTK comes with libgtkhtml, but I bet there are others, too.
>
> http://www.fcoutant.freesurf.fr/python-gtkhtml.html

Thanks a lot!

Cheers,
Daniel



More information about the Python-list mailing list