Future standard GUI library

Chris Angelico rosuav at gmail.com
Thu May 23 03:03:59 EDT 2013


On Thu, May 23, 2013 at 4:58 PM, Carlos Nepomuceno
<carlosnepomuceno at outlook.com> wrote:
> You don't! If your app needs local content just use a regular open() (or your browser) to read the files and render them as you see fit.
>
> For remote content you just need the 'urllib2' module or something like 'requests' module to get the data.

BTW, forgot the link. The part you DO need is something like this:

http://docs.python.org/3/library/http.server.html

It takes care of the irrelevant and lets you just write your app. The
same sort of thing is available in quite a few languages. Great for
knocking something together quickly; not designed for thousand-TPS web
servers.

ChrisA



More information about the Python-list mailing list