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


Groups > comp.lang.python > #30818

Re: How to call python script from web.

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:How': 0.09; 'python': 0.09; 'subject:script': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; 'apache': 0.13; 'oct': 0.16; 'script?': 0.16; 'wrote:': 0.17; 'assuming': 0.22; 'exists.': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'script': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'mike': 0.27; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'url:mailman': 0.29; 'url:code': 0.29; 'fri,': 0.30; 'url:python': 0.32; 'url:listinfo': 0.32; 'hi,': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'server': 0.35; 'received:209.85': 0.35; 'url:org': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'header:Received:5': 0.40; 'url:mail': 0.40; 'url:p': 0.63; 'joel': 0.91
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 :cc:content-type; bh=5of5BBqkP88330ui74dkeMT3L3Ix9FH4ri5Gg6ZNT0s=; b=cRMvTt1AaoKz5ed7rSl4w1Yn1AgM8dFJFl0pS1fMCgdv/eV5lUvLnK6uzkLsM1HBKE zPOSNIVprjw7lHytLQX7BAZFkvQxBdNnapVSLSyW15xJ8HNQ8H55aLS0ThrSlaeu3m1/ y7iXJFfbRrY6yAVJHjof2K0KYitUZhZFkTiiXEmlCsJ+bMpdb27sKHMbBXXEl2E/eAkm lN9toknf7VGK+VxqFgAOqq7JWwgvVkZp1MHX2QnP9vqDOpAapoG5QtU5mEizePK++61h 0Hk4/9eB+ewNdBt5wthcd7bi7YBJv4g6Dnb2PonMGvlHeCesWFS3o9yv+Yk4fcsGsMck /XtA==
MIME-Version 1.0
In-Reply-To <4bf240e0-26a2-4470-9e8e-badc8d8ae464@googlegroups.com>
References <4bf240e0-26a2-4470-9e8e-badc8d8ae464@googlegroups.com>
Date Fri, 5 Oct 2012 10:23:32 -0400
Subject Re: How to call python script from web.
From Joel Goldstick <joel.goldstick@gmail.com>
To Mike <mike20007@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
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.1852.1349447014.27098.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1349447014 news.xs4all.nl 6985 [2001:888:2000:d::a6]:56579
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:30818

Show key headers only | View raw


On Fri, Oct 5, 2012 at 9:59 AM, Mike <mike20007@gmail.com> wrote:
> Hi,
>
> I can call the php script from browser assuming apache web server exists.
>
> How can I call the python script like php script?
>
> Any thought?
>
> Thanks
> --
> http://mail.python.org/mailman/listinfo/python-list

A popular way for apache is to use mod_wsgi. http://code.google.com/p/modwsgi/



-- 
Joel Goldstick

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


Thread

How to call python script from web. Mike <mike20007@gmail.com> - 2012-10-05 06:59 -0700
  Re: How to call python script from web. Joel Goldstick <joel.goldstick@gmail.com> - 2012-10-05 10:23 -0400

csiph-web