Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'interpreter': 0.05; 'subject:Python': 0.06; 'happen.': 0.09; 'input,': 0.09; 'machines.': 0.09; 'output,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '24,': 0.16; 'doing,': 0.16; 'exactly,': 0.16; 'expecting': 0.16; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'program?': 0.16; 'sense,': 0.16; 'stuff,': 0.16; 'subject:install': 0.16; 'subject:possible': 0.16; 'language': 0.16; 'wrote:': 0.18; 'library': 0.18; 'trying': 0.19; 'thu,': 0.19; 'machine': 0.22; 'programming': 0.22; 'network,': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'script.': 0.24; 'specify': 0.24; 'fine': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'rest': 0.29; 'message-id:@mail.gmail.com': 0.30; 'that.': 0.31; 'too.': 0.31; 'usually': 0.31; 'invoke': 0.31; 'use?': 0.31; "user's": 0.31; 'writes:': 0.31; 'run': 0.32; 'knows': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'interact': 0.36; 'machine.': 0.36; 'subject:?': 0.36; 'half': 0.37; 'step': 0.37; 'architecture': 0.38; 'ben': 0.38; 'configured': 0.38; 'depends': 0.38; 'machines': 0.38; 'pm,': 0.38; 'does': 0.39; 'users': 0.40; 'how': 0.40; 'dangerous': 0.60; 'you.': 0.62; 'kind': 0.63; 'central': 0.64; 'different': 0.65; 'occur': 0.65; 'due': 0.66; 'between': 0.67; 'jul': 0.74; '\xe2\x80\x93': 0.77; 'carries': 0.91; 'dozen': 0.91; 'to:none': 0.92; 'mount': 0.93 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:content-transfer-encoding; bh=jbG01ACca4DUxluaNMv6AMgeTl40oDFAA2hJZ5MlsKk=; b=Q7XS51Chbje6udzv5oRcFx1Z0D/E+HMiT9Wnw6hmVy3A/Ug8deR/dppnGjjg/DPFrO GeMesvXdxhnTSW3KCWhy2eguVEhrO0Ool2ZP5FweWgyOYvaHxj+vfhXlSYFolGkLdfDa tmdRoEWKf99JLJTKYdz/2yLt9uOIubrSu3QPrzFSVCeL3QMwZY3KZ/R705+EaYJRE07p jYRgVepF6i9zdtSGKCz5pBqYsTynsxdf332QFdcffD6/05kGWn9b5Ewm/IKktMUEuIOF VdOv2NCavQv6V1Ko070cWlRT2gnU9104SyAohDClrJEAOPpEie/VVXN8yljeNlYi6pZv Qb4w== MIME-Version: 1.0 X-Received: by 10.220.81.194 with SMTP id y2mr7634018vck.29.1406169759352; Wed, 23 Jul 2014 19:42:39 -0700 (PDT) In-Reply-To: <85fvhro55a.fsf@benfinney.id.au> References: <2d7d457c-2030-43d0-94a6-6ceb93eb4d7c@googlegroups.com> <85fvhro55a.fsf@benfinney.id.au> Date: Thu, 24 Jul 2014 12:42:38 +1000 Subject: Re: Is it possible to install Python on a network? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1406169767 news.xs4all.nl 2857 [2001:888:2000:d::a6]:42337 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:75114 On Thu, Jul 24, 2014 at 12:35 PM, Ben Finney w= rote: > roys2005 writes: > >> I am trying to find out how I can install Python on a central machine >> so that all users can use it > > That's what confuses me. How do you envisage this working? On a given > machine, you can *run* programs only on that machine. > > If you want to run a program on a different machine, you must somehow > invoke it using a network service already configured to do that. What > service are you expecting to use? SSH? HTTP? There is nothing about a > programming language interpreter which pents a way to run programs > across a network, unless you can specify *how* that is to happen. > > What do you imaging a user doing, exactly, on machine =E2=80=98foo=E2=80= =99 to make a > program execute on machine =E2=80=98bar=E2=80=99? At what step =E2=80=93 = exactly how =E2=80=93 does the > communication between the machines occur to invoke the program? How is > the user's input, and the program's output, communicated in a way that > machine =E2=80=98foo=E2=80=99 knows to interact with machine =E2=80=98bar= =E2=80=99? Network mounts work fine for this kind of thing. I don't usually do it with binaries, due to architecture and library incompatibilities, but I have a directory that I mount on half a dozen systems, and part of what it carries is a Python script. So in that sense, I do run that program from one central machine, on all those other machines. I use sshfs for the mounting, but other systems work too. Of course, it is a dependency. In my case it's safe, because the purpose of that Python script is bound up with the rest of what's available (and which must be centralized; it's about a terabyte of stuff, and I don't want to be constantly syncing it). It all depends on how dangerous that is to you. ChrisA