Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.050 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'languages.': 0.04; '23,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'open()': 0.16; 'subject:GUI': 0.16; 'subject:library': 0.16; 'wrote:': 0.18; 'app': 0.19; 'module': 0.19; 'thu,': 0.19; 'lets': 0.24; '(or': 0.24; 'sort': 0.25; 'this:': 0.26; 'header:In-Reply- To:1': 0.27; 'forgot': 0.30; 'message-id:@mail.gmail.com': 0.30; 'app.': 0.31; 'servers.': 0.31; 'regular': 0.32; 'quite': 0.32; 'url:python': 0.33; 'link.': 0.33; 'something': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'remote': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; 'url:3': 0.61; 'url:http': 0.64; 'great': 0.65; 'irrelevant': 0.84; 'carlos': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Nw3CBGrRbnsELYMpCYuyyCVMKFcOS7lRRFBJglxMsNg=; b=OxpYOV2/LU3GJkwPbOpKDV+dITX4CeTQqG50ViOp0UtNJt1GHUzhbxZLhSDLX9wvEx DQ/VYbPYXPtBdPj47R184q+hQ+LD938fUHeyKh4IRIM4Xoo49aMoUO3nZy86bU/HLMq4 V8PcdePZe/x881l/oVMH5gVl7l54kIA2z8LZQVnXK5KFtg1/C1gGzz3biFaQfdQwH63j xj2iuPfThzYyOeQnBSRtv4eh9IDXtFfUaXiviHasKn0sFuhUMGUaCud87BbOP/gMUY7o zm0DTePT7Fsr+83Akx8KM5Hhy0jZr1og65VOmHoRhfeV1Hipma1EAgbIEVPME/zGgu1n W4gA== MIME-Version: 1.0 X-Received: by 10.58.187.164 with SMTP id ft4mr4291287vec.5.1369292639407; Thu, 23 May 2013 00:03:59 -0700 (PDT) In-Reply-To: References: <20130522154233.fe5263cb231c375fc60c7c9b@gmx.net> <19c925fc-dbf8-417c-9298-f682c9b2e558@googlegroups.com> Date: Thu, 23 May 2013 17:03:59 +1000 Subject: Re: Future standard GUI library From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369292647 news.xs4all.nl 15896 [2001:888:2000:d::a6]:42584 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45778 On Thu, May 23, 2013 at 4:58 PM, Carlos Nepomuceno 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