Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'wed,': 0.03; 'subject:Python': 0.06; 'python': 0.08; 'php,': 0.09; 'url.': 0.09; 'pm,': 0.10; 'scripts': 0.10; 'written': 0.14; 'received:209.85.214.174': 0.14; 'received:mail- iw0-f174.google.com': 0.14; 'wrote:': 0.14; 'angelico': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'nitin': 0.16; 'subject:server': 0.16; 'suggested.': 0.16; 'this?': 0.19; 'header:In-Reply-To:1': 0.21; "doesn't": 0.25; 'server.': 0.25; 'script': 0.27; 'correct': 0.28; 'message- id:@mail.gmail.com': 0.28; 'remote': 0.28; 'received:209.85.214': 0.28; 'subject:web': 0.29; 'server': 0.29; 'distributing': 0.30; 'to:addr:python-list': 0.33; 'chris': 0.34; 'normally': 0.34; 'php': 0.34; 'option': 0.35; 'there': 0.35; 'options:': 0.35; 'using': 0.35; 'running': 0.37; 'received:google.com': 0.37; 'something': 0.37; 'received:209.85': 0.37; 'two': 0.37; 'run': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'doing': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'browser.': 0.77 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=lN9fnhftDYY0UUEYhKEOQPyYxZg40n/6nwbR7voyL0k=; b=L5Q5SEzmIZA6PIrXibOoBuCegc0pHk4OWZbjA/BxNy9AUOJeefNogB+663q5GQ5Ai3 /hBE78PS9jGQ7qabSuzQpnPEyBG0x3/spRZ2kiB7l3aDtCAopnEqPDfrKN2rnjrIJAW5 lDeSY4EUGka0OaMFetgCd3bQ2uIiA0PhWFE6c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JxTjPY7oi2XPRU3PoIyZb+m37FOjVuwU2LgHrA9JuX39vyIR1nicl8eJz+YRkkLnN0 lenUdzpl+TIfLFIJqv3TDZKDQlw6iF0kPNUPzeZjl7sMr212SmCx2+vHxpvM+2eBLgzM 3N4GDcdnZYGLx1xZPLp+/lomR57DRb99mWjeQ= MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 8 Jun 2011 16:30:14 +1000 Subject: Re: Running a Python script on a web server 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.12 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: 82.94.164.166 X-Trace: 1307514618 news.xs4all.nl 49048 [::ffff:82.94.164.166]:52314 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7213 On Wed, Jun 8, 2011 at 3:52 PM, Abhijeet Mahagaonkar 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