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


Groups > comp.lang.python > #96069

Re: Can anyone help me run python scripts with http.server?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'configure': 0.04; 'subject:help': 0.07; 'cc:addr:python-list': 0.09; 'scripts': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'python': 0.10; 'apache': 0.14; 'subject:python': 0.14; 'cares': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'subject:run': 0.16; 'example.': 0.18; 'frameworks': 0.18; 'laura': 0.18; 'windows': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'sep': 0.22; 'unix': 0.24; 'this.': 0.28; '-0700,': 0.29; 'cgi': 0.29; 'occurred': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'compared': 0.30; 'run': 0.33; 'file': 0.34; 'server': 0.34; 'framework': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'charset :us-ascii': 0.37; 'seem': 0.37; "won't": 0.38; 'test': 0.39; 'subject:with': 0.40; 'your': 0.60; 'header:Message-Id:1': 0.61; 'email addr:gmail.com': 0.62; 'town': 0.63; 'future,': 0.70; 'bottle': 0.84; 'header:In-reply-to:1': 0.84; 'offline.': 0.91; 'walking': 0.91
To tropical.dude.net@gmail.com
cc python-list@python.org, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: Can anyone help me run python scripts with http.server?
In-reply-to <361cf277-b469-4873-891d-0153498794ef@googlegroups.com>
References <3877a9ae-edbd-4d36-925a-5cb3789bd1bd@googlegroups.com> <mailman.170.1441541749.8327.python-list@python.org> <31ec836b-4cb0-4079-8c12-f6b66a5cd143@googlegroups.com> <mailman.176.1441543545.8327.python-list@python.org> <361cf277-b469-4873-891d-0153498794ef@googlegroups.com>
Comments In-reply-to tropical.dude.net@gmail.com message dated "Sun, 06 Sep 2015 06:07:05 -0700."
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <4353.1441551820.1@fido>
Content-Transfer-Encoding quoted-printable
Date Sun, 06 Sep 2015 17:03:40 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Sun, 06 Sep 2015 17:03:43 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.178.1441551833.8327.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1441551833 news.xs4all.nl 23721 [2001:888:2000:d::a6]:41975
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96069

Show key headers only | View raw


In a message of Sun, 06 Sep 2015 06:07:05 -0700, tropical.dude.net@gmail.com wr
ites:
>Thank you very much.
>
>I will definitely look into python web frameworks in the future, they seem
>complicated to me compared to php for example. I am looking for the simplest
>way to test my python scripts till I understand better how it works and when
>I can configure my own web server to run the framework because I want develop my
>stuff offline.

I think that bottle or flask won't seem complicated to you ....

As I was walking around town it occurred to me to ask if you have
made your something.py file executable?  I don't even know if
apache on windows cares about such things, though if you are using cgi
and a unix like system you will need to do this.

Laura

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


Thread

Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 04:50 -0700
  Re: Can anyone help me run python scripts with http.server? Laura Creighton <lac@openend.se> - 2015-09-06 14:15 +0200
    Re: Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 05:35 -0700
    Re: Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 05:38 -0700
      Re: Can anyone help me run python scripts with http.server? Laura Creighton <lac@openend.se> - 2015-09-06 14:45 +0200
        Re: Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 06:07 -0700
          Re: Can anyone help me run python scripts with http.server? Chris Angelico <rosuav@gmail.com> - 2015-09-06 23:23 +1000
            Re: Can anyone help me run python scripts with http.server? Denis McMahon <denismfmcmahon@gmail.com> - 2015-09-06 20:04 +0000
              Re: Can anyone help me run python scripts with http.server? Chris Angelico <rosuav@gmail.com> - 2015-09-07 12:48 +1000
          Re: Can anyone help me run python scripts with http.server? Laura Creighton <lac@openend.se> - 2015-09-06 17:03 +0200
          Re: Can anyone help me run python scripts with http.server? Chris Angelico <rosuav@gmail.com> - 2015-09-07 01:13 +1000
      Re: Can anyone help me run python scripts with http.server? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-09-06 13:11 -0400
    Re: Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 05:42 -0700
  Re: Can anyone help me run python scripts with http.server? Chris Warrick <kwpolska@gmail.com> - 2015-09-06 14:16 +0200
  Re: Can anyone help me run python scripts with http.server? Laura Creighton <lac@openend.se> - 2015-09-06 14:28 +0200
  Re: Can anyone help me run python scripts with http.server? Peter Otten <__peter__@web.de> - 2015-09-06 14:32 +0200
  Re: Can anyone help me run python scripts with http.server? Peter Otten <__peter__@web.de> - 2015-09-06 14:43 +0200
  Re: Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 05:47 -0700

csiph-web