Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75114
| 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 | 2014-07-24 12:42 +1000 |
| Subject | Re: Is it possible to install Python on a network? |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12259.1406169767.18130.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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