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


Groups > comp.lang.python > #7213

Re: Running a Python script on a web server

References <BANLkTikpWLUTEE3iG+pWjD3b9GKetSgJJw@mail.gmail.com> <BANLkTimLvs=Yiu7ce8GwaBbmbN+rZ90GDg@mail.gmail.com> <BANLkTikFX1RFHbWz3iPR=g7CHNZ1aQhZGg@mail.gmail.com>
Date 2011-06-08 16:30 +1000
Subject Re: Running a Python script on a web server
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.19.1307514618.11593.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Jun 8, 2011 at 3:52 PM, Abhijeet Mahagaonkar
<abhijeet.manohar@gmail.com> wrote:
>>>Python doesn't normally run in a web browser. There's two easy options:
>
> Is there an option of running it like php? I have never written in php, but
> my understanding is that the php script will be saved in some remote server
> and we will be able to run it using the url.
> pls correct me if i;m wrong.
> So i thought is there a python way of doing something like this?

Yes, you can do that. That's what Nitin Pawar suggested. That's all
part of what I lumped together as option #2 - run the scripts on the
server. It's completely different from distributing them to people as
EXEs, but it might very well do what you need.

Chris Angelico

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


Thread

Re: Running a Python script on a web server Chris Angelico <rosuav@gmail.com> - 2011-06-08 16:30 +1000

csiph-web