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


Groups > comp.lang.python > #75114

Re: Is it possible to install Python on a network?

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 <rosuav@gmail.com>
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 <e84ec19b-f441-4c4b-ac63-1e2f7b893f8f@googlegroups.com> <2d7d457c-2030-43d0-94a6-6ceb93eb4d7c@googlegroups.com> <mailman.12214.1406089114.18130.python-list@python.org> <e5860f6d-f23a-4614-904d-7bbd5d96accd@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 <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12259.1406169767.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Thu, Jul 24, 2014 at 12:35 PM, Ben Finney <ben+python@benfinney.id.au> wrote:
> roys2005 <roys2005@gmail.com> 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 ‘foo’ to make a
> program execute on machine ‘bar’? At what step – exactly how – 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 ‘foo’ knows to interact with machine ‘bar’?

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

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


Thread

Is it possible to install Python on a network? roys2005@gmail.com - 2014-07-22 13:49 -0700
  Re: Is it possible to install Python on a network? emile <emile@fenx.com> - 2014-07-22 14:08 -0700
  Re: Is it possible to install Python on a network? roys2005 <roys2005@gmail.com> - 2014-07-22 17:41 -0700
    Re: Is it possible to install Python on a network? Dan Stromberg <drsalists@gmail.com> - 2014-07-22 20:51 -0700
      Re: Is it possible to install Python on a network? roys2005 <roys2005@gmail.com> - 2014-07-23 07:15 -0700
        Re: Is it possible to install Python on a network? Chris Angelico <rosuav@gmail.com> - 2014-07-24 01:46 +1000
        Re: Is it possible to install Python on a network? Ned Deily <nad@acm.org> - 2014-07-23 16:47 -0700
        Re: Is it possible to install Python on a network? Dan Stromberg <drsalists@gmail.com> - 2014-07-23 20:40 -0700
    Re: Is it possible to install Python on a network? Ben Finney <ben+python@benfinney.id.au> - 2014-07-23 14:18 +1000
      Re: Is it possible to install Python on a network? roys2005 <roys2005@gmail.com> - 2014-07-23 07:24 -0700
        Re: Is it possible to install Python on a network? Chris Angelico <rosuav@gmail.com> - 2014-07-24 01:56 +1000
        Re: Is it possible to install Python on a network? Ben Finney <ben+python@benfinney.id.au> - 2014-07-24 12:35 +1000
        Re: Is it possible to install Python on a network? Chris Angelico <rosuav@gmail.com> - 2014-07-24 12:42 +1000
        Re: Is it possible to install Python on a network? Ben Finney <ben+python@benfinney.id.au> - 2014-07-24 12:48 +1000
        Re: Is it possible to install Python on a network? Chris Angelico <rosuav@gmail.com> - 2014-07-24 12:52 +1000
    Re: Is it possible to install Python on a network? Chris Angelico <rosuav@gmail.com> - 2014-07-23 16:17 +1000

csiph-web