Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'interpreter': 0.05; 'subject:installation': 0.07; 'etc).': 0.09; 'psf': 0.10; 'runs': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; '(me': 0.16; '24,': 0.16; '2:28': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'site).': 0.16; 'subject:windows': 0.16; 'too).': 0.16; 'true:': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'server,': 0.19; '(the': 0.22; 'cc:addr:python.org': 0.22; 'commands,': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'possibly': 0.26; 'header:In-Reply- To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'run': 0.32; 'running': 0.33; 'problem': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'ram': 0.36; 'done': 0.36; 'server': 0.38; 'pm,': 0.38; 'skip:x 10': 0.40; 'how': 0.40; 'up,': 0.60; 'browser': 0.61; 'mar': 0.68; 'protect': 0.79; 'etc,': 0.84; 'malicious': 0.84; 'to:none': 0.92 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:cc :content-type; bh=ju7TBBYLVJRsB4HU39sPJMHVqAtVIggDbMXPxKEn5rc=; b=mQAuhkmuqTy3AfNevlX3mOLJQKlm/Dj1HDW0HaCsVamdhf8iCtqK2JjdEFynuMO+BO 4TUNwLIX66e3IEEuuG+fvFOxp4csWhZquCJeO8Vlg+bqRmd22VFBC6QuuifPWj/msi40 u8mbQ0BkLTVv7eBYK2Kf4C3d3P8hEk/UUSvOXVpbAXAsuctC6WmWfwmYuxD3b7bKjXy6 R+5WmFA709q1s6cUNcMg1UgBY66I8zbej9tDkJPY/AZpMedQrY0EXg9C3Ywn9Jtz0Pba F/R34caa+eE56RjDYhQZH+YRJBJPFUxH/Bp7Oh8sQ5Pf2UFS7XMxUS0hgDQqe14iNpqy Zy1A== MIME-Version: 1.0 X-Received: by 10.66.181.70 with SMTP id du6mr68285023pac.23.1395632119317; Sun, 23 Mar 2014 20:35:19 -0700 (PDT) In-Reply-To: References: <04f1a2d3-4d34-4871-a845-1301cda1c19c@googlegroups.com> <73a660da-9dd8-4104-ae9c-ba1788ae1d60@googlegroups.com> Date: Mon, 24 Mar 2014 14:35:19 +1100 Subject: Re: python installation on windows From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 2001:888:2000:d::a6 X-Trace: 1395632129 news.xs4all.nl 2899 [2001:888:2000:d::a6]:44615 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68846 On Mon, Mar 24, 2014 at 2:28 PM, Mark H Harris wrote: > Anyway, the PSF runs python (the interpreter) from a web server (I can > access the python interpreter from my browser from the PSF site). > > How is that done simply, is possibly what the OP wants to know (me too). That's a much MUCH harder thing to do than running Python code in your web server, because of trust issues. I don't know how it's set up, but there'll be something in there to protect the server against malicious or accidental insanity (spinning with "while True: pass", trying to read/write files, trying to execute commands, using up all of RAM with "x = []\nwhile True: x.append(1)", etc, etc, etc). That's actually a very hard problem to solve, not something where you can just say "Here, this is how to run Python via a browser". ChrisA