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


Groups > comp.lang.python > #94643

Re: Python Questions - July 25, 2015

Path csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'python': 0.10; 'python.': 0.11; '(at': 0.13; 'ignore': 0.14; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'combinations': 0.16; 'effect,': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'modules,': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'scratch': 0.16; 'utterly': 0.16; 'view)': 0.16; 'memory': 0.17; 'laura': 0.18; 'language': 0.19; 'versions': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'see:': 0.22; 'subject:Questions': 0.22; 'header:In-Reply-To:1': 0.24; 'software.': 0.25; 'installed': 0.26; 'least': 0.27; 'subject:2015': 0.27; 'fine': 0.28; 'perl': 0.29; 'purposes.': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'that.': 0.30; 'too.': 0.30; 'code': 0.30; 'probably': 0.31; 'point': 0.33; 'common': 0.33; 'usually': 0.33; 'directory,': 0.33; 'instead,': 0.33; 'lets': 0.33; 'machine.': 0.33; 'running': 0.34; 'so,': 0.35; 'quite': 0.35; 'asking': 0.35; 'project': 0.36; 'tools,': 0.36; 'subject:: ': 0.37; 'environment.': 0.37; 'charset:us- ascii': 0.37; 'things': 0.38; 'doing': 0.38; 'virtual': 0.38; 'end': 0.39; 'test': 0.39; 'build': 0.40; 'some': 0.40; 'your': 0.60; 'entire': 0.61; 'header:Message-Id:1': 0.61; 'introduction': 0.63; 'different': 0.63; 'flash': 0.67; 'talking': 0.67; 'received:89': 0.80; '>other': 0.84; 'run?': 0.84
To "E.D.G." <edgrsprj@ix.netcom.com>
cc python-list@python.org, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: Python Questions - July 25, 2015
In-Reply-To Message from "E.D.G." <edgrsprj@ix.netcom.com> of "Sun, 26 Jul 2015 12:49:57 -0500." <5ZOdnRjTI6RfgCjInZ2dnUU7-RednZ2d@earthlink.com>
References <jf6dnQiMOZ_GxC7InZ2dnUU7-S2dnZ2d@earthlink.com> <2adac4ce-976f-4a8a-849d-c76e484eba77@googlegroups.com><Ce2dnceSrLaEES7InZ2dnUU7-b-dnZ2d@earthlink.com> <mailman.980.1437832769.3674.python-list@python.org><5ZOdnRjTI6RfgCjInZ2dnUU7-RednZ2d@earthlink.com>
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <30833.1437935890.1@fido>
Date Sun, 26 Jul 2015 20:38:10 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Sun, 26 Jul 2015 20:38:16 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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.1018.1437935917.3674.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1437935917 news.xs4all.nl 2948 [2001:888:2000:d::a6]:39049
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:94643

Show key headers only | View raw


>       It can take a considerable amount of time and effort to get a 
>programming language installed and running with all of the features that are 
>needed.  It probably took me 5 to 10 years to get Perl organized on my 
>computer like that.


>       So, that is what I was asking about Python.  Once it is installed and 
>running properly, can people simply copy the entire Python directory to some 
>other computer or flash drive and a Python language program will then run?

Yes.  That is actually the usual way to do things for quite a few years now.
What you are talking about is what we call a Python virtual environment.
see: http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
http://simononsoftware.com/virtualenv-tutorial-part-2/
for an introduction to them.

It is common to have many of them for different purposes.  The bottom
line is that it lets you utterly ignore (at least from the python
point of view) any system packages you have on your machine.  Instead,
in a directory, you end up with exactly the tools, modules, etc
that you want for this project.

Works fine on a memory stick, too.

You don't have to worry about conflicts because you are, in effect, doing
a clean build from scratch for every project you have -- or indeed I
usually have many of them even with a single project so I can test that
my code works with different combinations of different versions of other
software.

Laura

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


Thread

Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-25 04:39 -0500
  Python Questions - July 25, 2015 tandrewjohnson@outlook.com - 2015-07-25 04:36 -0700
    Python Questions - July 25, 2015 tandrewjohnson@outlook.com - 2015-07-25 04:39 -0700
    Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-25 08:16 -0500
      Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-25 15:59 +0200
        Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 12:49 -0500
          Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-26 20:38 +0200
            Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 13:48 -0500
    Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-26 13:49 +0100
      Re: Python Questions - July 25, 2015 Chris Angelico <rosuav@gmail.com> - 2015-07-26 23:07 +1000
        Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-26 15:30 +0100
      Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-26 14:19 +0100
      Re: Python Questions - July 25, 2015 Steven D'Aprano <steve@pearwood.info> - 2015-07-27 00:22 +1000
        Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-26 15:58 +0100
      Re: Python Questions - July 25, 2015 Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-07-27 23:14 +0000
        Re: Python Questions - July 25, 2015 Terry Reedy <tjreedy@udel.edu> - 2015-07-28 04:50 -0400
          Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-28 10:46 +0100
            Re: Python Questions - July 25, 2015 Chris Angelico <rosuav@gmail.com> - 2015-07-28 20:17 +1000
              Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-28 11:44 +0100
                Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-28 13:47 +0100
                Re: Python Questions - July 25, 2015 Steven D'Aprano <steve@pearwood.info> - 2015-07-29 02:02 +1000
            Re: Python Questions - July 25, 2015 Steven D'Aprano <steve@pearwood.info> - 2015-07-29 02:12 +1000
              Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-28 17:45 +0100
                Re: Python Questions - July 25, 2015 Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-07-28 18:46 +0000
                Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-29 18:13 +0200
                Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-29 17:50 +0100
          Re: Python Questions - July 25, 2015 wxjmfauth@gmail.com - 2015-07-28 07:09 -0700
        Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-28 13:58 +0100
  Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-25 15:30 +0200
    Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-25 08:45 -0500
  Re: Python Questions - July 25, 2015 tjohnson <tandrewjohnson@outlook.com> - 2015-07-25 15:16 -0700
  Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 14:17 -0500
    Re: Python Questions - July 25, 2015 mm0fmf <none@mailinator.com> - 2015-07-26 22:15 +0100
      Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 17:08 -0500
        Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 17:32 -0500
      Re: Python Questions - July 25, 2015 Ned Batchelder <ned@nedbatchelder.com> - 2015-07-26 16:12 -0700
        Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 18:58 -0500
          Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-27 11:15 +0200
        Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-27 01:18 +0100
          Re: Python Questions - July 25, 2015 mm0fmf <none@mailinator.com> - 2015-07-27 17:46 +0100
    Re: Python Questions - July 25, 2015 tjohnson <tandrewjohnson@outlook.com> - 2015-07-27 03:24 -0700
      Re: Python Questions - July 25, 2015 wxjmfauth@gmail.com - 2015-07-29 00:43 -0700

csiph-web