On Thu, May 23, 2013 at 4:58 PM, Carlos Nepomuceno <carlosnepomuc...@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 -- http://mail.python.org/mailman/listinfo/python-list