Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45778

Re: Future standard GUI library

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 <rosuav@gmail.com>
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 <BLU176-W10E7B03A83D0EC1D9402D8D7AA0@phx.gbl>
References <mailman.1803.1368885785.3114.python-list@python.org> <20130522154233.fe5263cb231c375fc60c7c9b@gmx.net> <mailman.1967.1369232658.3114.python-list@python.org> <19c925fc-dbf8-417c-9298-f682c9b2e558@googlegroups.com> <BLU176-W10E7B03A83D0EC1D9402D8D7AA0@phx.gbl>
Date Thu, 23 May 2013 17:03:59 +1000
Subject Re: Future standard GUI library
From Chris Angelico <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1996.1369292647.3114.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Thu, May 23, 2013 at 4:58 PM, Carlos Nepomuceno
<carlosnepomuceno@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Future standard GUI library Beinan Li <li.beinan@gmail.com> - 2013-05-18 10:03 -0400
  Re: Future standard GUI library Kevin Walzer <kw@codebykevin.com> - 2013-05-18 11:32 -0400
  Re: Future standard GUI library Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-18 21:25 +0000
  Re: Future standard GUI library llanitedave <llanitedave@veawb.coop> - 2013-05-18 20:01 -0700
    Re: Future standard GUI library Kevin Walzer <kw@codebykevin.com> - 2013-05-19 08:57 -0400
  Re: Future standard GUI library Wolfgang Keller <feliphil@gmx.net> - 2013-05-22 15:42 +0200
    Re: Future standard GUI library Chris Angelico <rosuav@gmail.com> - 2013-05-23 00:24 +1000
      Re: Future standard GUI library llanitedave <llanitedave@veawb.coop> - 2013-05-22 19:31 -0700
        Re: Future standard GUI library Fábio Santos <fabiosantosart@gmail.com> - 2013-05-23 07:43 +0100
        Re: Future standard GUI library Chris Angelico <rosuav@gmail.com> - 2013-05-23 16:48 +1000
        RE: Future standard GUI library Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-23 09:58 +0300
        Re: Future standard GUI library Chris Angelico <rosuav@gmail.com> - 2013-05-23 17:03 +1000
        RE: Future standard GUI library Fábio Santos <fabiosantosart@gmail.com> - 2013-05-23 08:08 +0100
      Re: Future standard GUI library Wolfgang Keller <feliphil@gmx.net> - 2013-05-23 17:41 +0200
        Re: Future standard GUI library Chris Angelico <rosuav@gmail.com> - 2013-05-24 01:51 +1000
          Re: Future standard GUI library Wolfgang Keller <feliphil@gmx.net> - 2013-05-26 19:43 +0200
            Re: Future standard GUI library Roy Smith <roy@panix.com> - 2013-05-26 14:16 -0400
              Re: Future standard GUI library Wolfgang Keller <feliphil@gmx.net> - 2013-05-27 17:31 +0200
                Re: Future standard GUI library Michael Torrie <torriem@gmail.com> - 2013-05-27 11:13 -0600
                Re: Future standard GUI library Chris Angelico <rosuav@gmail.com> - 2013-05-28 08:21 +1000
                Re: Future standard GUI library Roy Smith <roy@panix.com> - 2013-05-27 19:10 -0400
                Re: Future standard GUI library Chris Angelico <rosuav@gmail.com> - 2013-05-28 17:11 +1000
                Re: Future standard GUI library 88888 Dihedral <dihedral88888@gmail.com> - 2013-05-28 02:40 -0700
                Re: Future standard GUI library Denis McMahon <denismfmcmahon@gmail.com> - 2013-05-28 01:01 +0000
            RE: Future standard GUI library Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-26 21:32 +0300
              Re: Future standard GUI library Wolfgang Keller <feliphil@gmx.net> - 2013-05-28 19:26 +0200
                Re: Future standard GUI library Michael Torrie <torriem@gmail.com> - 2013-05-28 12:16 -0600
                RE: Future standard GUI library Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-29 00:17 +0300
                Re: Future standard GUI library Chris Angelico <rosuav@gmail.com> - 2013-05-29 17:20 +1000
            Re: Future standard GUI library Chris Angelico <rosuav@gmail.com> - 2013-05-27 04:56 +1000
            Re: Future standard GUI library Michael Torrie <torriem@gmail.com> - 2013-05-26 13:41 -0600
              Re: Future standard GUI library Roy Smith <roy@panix.com> - 2013-05-26 15:45 -0400
                Re: Future standard GUI library Michael Torrie <torriem@gmail.com> - 2013-05-26 15:13 -0600
                Re: Future standard GUI library Grant Edwards <invalid@invalid.invalid> - 2013-05-28 15:40 +0000
              Re: Future standard GUI library Wolfgang Keller <feliphil@gmx.net> - 2013-05-27 17:22 +0200
                Re: Future standard GUI library Michael Torrie <torriem@gmail.com> - 2013-05-27 11:16 -0600
                Re: Future standard GUI library Wolfgang Keller <feliphil@gmx.net> - 2013-05-30 18:40 +0200
                Re: Future standard GUI library Chris Angelico <rosuav@gmail.com> - 2013-05-31 02:53 +1000
                Re: Future standard GUI library Chris Angelico <rosuav@gmail.com> - 2013-06-02 06:46 +1000
                Re: Future standard GUI library Wolfgang Keller <feliphil@gmx.net> - 2013-06-01 20:18 +0200
                Re: Future standard GUI library Terry Jan Reedy <tjreedy@udel.edu> - 2013-06-01 17:52 -0400
            Re: Future standard GUI library Ian Foote <ian@feete.org> - 2013-05-26 22:02 +0100
            Re: Future standard GUI library Chris Angelico <rosuav@gmail.com> - 2013-05-27 08:09 +1000
        Re: Future standard GUI library Grant Edwards <invalid@invalid.invalid> - 2013-05-23 20:37 +0000
          Re: Future standard GUI library Wolfgang Keller <feliphil@gmx.net> - 2013-05-28 19:28 +0200
            Re: Future standard GUI library Grant Edwards <invalid@invalid.invalid> - 2013-05-28 18:25 +0000
              Re: Future standard GUI library 88888 Dihedral <dihedral88888@gmail.com> - 2013-05-28 16:19 -0700

csiph-web