[program-l] Re: Help Installing Python Packages

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "program-l@xxxxxxxxxxxxx" <program-l@xxxxxxxxxxxxx>
  • Date: Tue, 23 Oct 2012 15:30:25 +0000

Hi Richard,
I keep forgetting how much stuff is included. Thanks for this.

Jim


From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of R Dinger
Sent: Tuesday, October 23, 2012 11:05 AM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Help Installing Python Packages

Hi Jim,

Remember that Python comes with batteries.  So the standard library generally 
provides the tools you need.  Try the following short script to unzip a file 
named 'filename.tar.gz'

import tarfile
tar = tarfile.open('filename.tar.gz')
tar.extractall()
tar.close()


----- Original Message -----
From: Homme, James<mailto:james.homme@xxxxxxxxxxxx>
To: program-l@xxxxxxxxxxxxx<mailto:program-l@xxxxxxxxxxxxx>
Sent: Tuesday, October 23, 2012 4:02 AM
Subject: [program-l] Re: Help Installing Python Packages

Hi Jacob,
So you're saying that I should get the source then? Do you know if WinZip can 
handle tar files?

Thanks.

Jim




From: program-l-bounce@xxxxxxxxxxxxx<mailto:program-l-bounce@xxxxxxxxxxxxx> 
[mailto:program-l-bounce@xxxxxxxxxxxxx] On Behalf Of Jacob Kruger
Sent: Monday, October 22, 2012 3:34 PM
To: program-l@xxxxxxxxxxxxx<mailto:program-l@xxxxxxxxxxxxx>
Subject: [program-l] Re: Help Installing Python Packages

All I can really say, since haven't used that library/repository as such - if 
that's what it is, is that generally, to install a module for later use, 
something along the lines of the following command will install it under python 
itself - run from the extracted directory, where there is then a setup.py file:
python setup.py install

HTH

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
----- Original Message -----
From: Homme, James<mailto:james.homme@xxxxxxxxxxxx>
To: program-l@xxxxxxxxxxxxx<mailto:program-l@xxxxxxxxxxxxx>
Sent: Monday, October 22, 2012 8:40 PM
Subject: [program-l] Help Installing Python Packages

Hi,
I have Python 2.7.3. I seem to be reading conflicting information about how to 
go to Pypi and find and install packages. I'm using Windows. Can anyone point 
to straight forward information about this?

Thanks.

Jim



________________________________

This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.

Other related posts: