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


Groups > comp.lang.python > #80453

Re: Python modules

Path csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed0.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.138.MISMATCH!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
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; 'subject:Python': 0.06; 'steve': 0.09; 'executable': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:modules': 0.09; '\xe2\x80\x94': 0.09; 'python': 0.11; 'finney': 0.16; 'hayes': 0.16; 'hierarchy': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'code.': 0.18; 'deployment': 0.19; 'packages.': 0.19; "python's": 0.19; '(the': 0.22; 'header:User-Agent:1': 0.23; 'diverse': 0.24; 'tend': 0.24; 'compiled': 0.26; 'header:X -Complaints-To:1': 0.27; 'generally': 0.29; 'code': 0.31; 'writes:': 0.31; 'run': 0.32; 'another': 0.32; '(e.g.': 0.33; 'cases': 0.33; 'packaging': 0.33; 'url:org': 0.36; 'operating': 0.37; 'ben': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'aspects': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'most': 0.60; 'simple': 0.61; 'more': 0.64; 'different': 0.65; 'god': 0.65; 'pray': 0.84; 'received:125': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ben Finney <ben+python@benfinney.id.au>
Subject Re: Python modules
Date Mon, 10 Nov 2014 18:48:04 +1100
References <i0h06a9pj8h3olo5rnrgc64i7ckpvtvti6@4ax.com> <mailman.15614.1415596346.18130.python-list@python.org> <u7o06alk649o4r41bur4kacg4ra8k3boeq@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xAC128405
X-Public-Key-Fingerprint 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock sha1:4+ndISkmBJ6wi+FO8YWndX1WRpA=
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.15615.1415605702.18130.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415605702 news.xs4all.nl 2942 [2001:888:2000:d::a6]:56950
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 4270
X-Received-Body-CRC 3308327220
Xref csiph.com comp.lang.python:80453

Show key headers only | View raw


Steve Hayes <hayesstw@telkomsa.net> writes:

> So if I want to run it on another computer, where do I look for the
> compiled executable program to copy?

You generally don't do that (the compiled files tend to be specific to
various aspects of the target platform). This is a way that i's
important to remember that most Python interpreters require compiled
Python code.

Instead, to have a Python program run on a different computer, the files
to copy are the *source* files — preferably, in the hierarchy those
files expect.

You can do this with ‘rsync’ <URL:https://rsync.samba.org/> for simple
cases.

For more complex cases, look into Python's distribution and packaging
tools <URL:https://python-packaging-user-guide.readthedocs.org/>.

For even more complex cases (e.g. where the Python code is only part of
a more diverse code base), look into deployment systems and operating
system packages.

-- 
 \         “When we pray to God we must be seeking nothing — nothing.” |
  `\                                                —Francis of Assisi |
_o__)                                                                  |
Ben Finney

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


Thread

Python modules Steve Hayes <hayesstw@telkomsa.net> - 2014-11-10 06:55 +0200
  Re: Python modules Deepfriedice <Deepfriedice@openmailbox.org> - 2014-11-10 14:55 +1000
  Re: Python modules Ben Finney <ben+python@benfinney.id.au> - 2014-11-10 16:12 +1100
    Re: Python modules Steve Hayes <hayesstw@telkomsa.net> - 2014-11-10 08:58 +0200
      Re: Python modules Ben Finney <ben+python@benfinney.id.au> - 2014-11-10 18:48 +1100
  Re: Python modules Roy Smith <roy@panix.com> - 2014-11-10 08:36 -0500
    Re: Python modules Chris Angelico <rosuav@gmail.com> - 2014-11-11 00:49 +1100
  Re: Python modules Will Acheson <willyach07@gmail.com> - 2014-11-11 12:06 -0800
    Re: Python modules Ben Finney <ben+python@benfinney.id.au> - 2014-11-12 09:18 +1100

csiph-web