Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2013-09-06 Thread nelsonpaixao
Richard D. Moores gmail.com> writes: > > Python 3.2.3 64 bit > MS Windows 7 Home Premium 64-bit SP1 > > I see python-dateutil recommended here from time to time, so I thought > I'd try it out. I downloaded python-dateutil-2.1.tar.gz from > http://pypi.python.org/pypi/python-dateutil but have fo

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-19 Thread Prasad, Ramit
eryksun wrote: > On Thu, Oct 18, 2012 at 8:01 PM, Richard D. Moores wrote: > > > > Python 3.2.3 64 bit > > MS Windows 7 Home Premium 64-bit SP1 > > > > have forgotten how to unpack a .tar.gz file. Please remind me. > > shutil.unpack_archive(filename, extract_dir, 'gztar') > > http://doc

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-19 Thread Richard D. Moores
On Fri, Oct 19, 2012 at 3:47 AM, eryksun wrote: > On Fri, Oct 19, 2012 at 5:53 AM, Richard D. Moores wrote: >> On Fri, Oct 19, 2012 at 1:55 AM, Mark Lawrence >> wrote: >>> >>> So what? Why should the way that Python software gets installed vary from >>> version to version? >> >> Try it yoursel

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-19 Thread eryksun
On Fri, Oct 19, 2012 at 5:53 AM, Richard D. Moores wrote: > On Fri, Oct 19, 2012 at 1:55 AM, Mark Lawrence > wrote: >> >> So what? Why should the way that Python software gets installed vary from >> version to version? > > Try it yourself and you'll see. The setup.py needs setuptools as per jc

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-19 Thread Richard D. Moores
On Fri, Oct 19, 2012 at 1:55 AM, Mark Lawrence wrote: > On 19/10/2012 02:55, Richard D. Moores wrote: >> >> On Thu, Oct 18, 2012 at 6:08 PM, Mark Lawrence >> wrote: >> >>> Could you please take a training course on how to use a search engine. >>> First >>> hit on google for "python dateutils inst

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-19 Thread Mark Lawrence
On 19/10/2012 02:55, Richard D. Moores wrote: On Thu, Oct 18, 2012 at 6:08 PM, Mark Lawrence wrote: Could you please take a training course on how to use a search engine. First hit on google for "python dateutils install windows" is http://stackoverflow.com/questions/879156/how-to-install-pyth

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Richard D. Moores
On Thu, Oct 18, 2012 at 9:41 PM, eryksun wrote: > On Thu, Oct 18, 2012 at 11:55 PM, Steven D'Aprano wrote: >> >> Have you tried running `date` at the Windows command.com (or cmd.exe, >> or something, I never remember which)? What does it print? >> >> My guess is that it probably prints something

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread eryksun
On Thu, Oct 18, 2012 at 11:55 PM, Steven D'Aprano wrote: > > Have you tried running `date` at the Windows command.com (or cmd.exe, > or something, I never remember which)? What does it print? > > My guess is that it probably prints something like: > > "Command not found" > > which clearly cannot b

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Steven D'Aprano
On 19/10/12 14:30, Richard D. Moores wrote: [quote] you want to get today's date out of the "date" unix system command. [end quote] I missed that. It's the first clue I could find anywhere that the download for 3.x (x> 0) is only for a "Unix or a Unix-compatible system like Linux". No, you

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Richard D. Moores
On Thu, Oct 18, 2012 at 7:17 PM, Steven D'Aprano wrote: > On 19/10/12 12:16, Richard D. Moores wrote: >> >> Running the example at >> >> , >> with Python 2.3.2 64-bit, > > > Python TWO POINT THREE??? :-) > > That's lik

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread eryksun
On Thu, Oct 18, 2012 at 8:01 PM, Richard D. Moores wrote: > > Python 3.2.3 64 bit > MS Windows 7 Home Premium 64-bit SP1 > > have forgotten how to unpack a .tar.gz file. Please remind me. shutil.unpack_archive(filename, extract_dir, 'gztar') http://docs.python.org/release/3.2.3/library/

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread eryksun
On Thu, Oct 18, 2012 at 9:55 PM, Richard D. Moores wrote: > On Thu, Oct 18, 2012 at 6:08 PM, Mark Lawrence > wrote: > >> Could you please take a training course on how to use a search engine. First >> hit on google for "python dateutils install windows" is >> http://stackoverflow.com/questions/8

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Steven D'Aprano
On 19/10/12 12:16, Richard D. Moores wrote: Running the example at , with Python 2.3.2 64-bit, Python TWO POINT THREE??? :-) That's like, a million years old. I think you mean three point two. The importing goes

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Richard D. Moores
On Thu, Oct 18, 2012 at 6:08 PM, Mark Lawrence wrote: > Could you please take a training course on how to use a search engine. First > hit on google for "python dateutils install windows" is > http://stackoverflow.com/questions/879156/how-to-install-python-dateutil-on-windows You're assuming I h

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Richard D. Moores
Running the example at , with Python 2.3.2 64-bit, The importing goes OK, it seems, but: Python 3.2.3 (default, Apr 11 2012, 07:12:16) [MSC v.1500 64 bit (AMD64)] Type "help", "copyright", "credits" or "license" for m

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Mark Lawrence
On 19/10/2012 01:42, Richard D. Moores wrote: On Thu, Oct 18, 2012 at 5:27 PM, Alan Gauld wrote: On 19/10/12 01:01, Richard D. Moores wrote: Python 3.2.3 64 bit MS Windows 7 Home Premium 64-bit SP1 ... unpack a .tar.gz file. Please remind me. Winzip or similar should cope in Windows. But

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Richard D. Moores
On Thu, Oct 18, 2012 at 5:27 PM, Alan Gauld wrote: > On 19/10/12 01:01, Richard D. Moores wrote: >> >> Python 3.2.3 64 bit >> MS Windows 7 Home Premium 64-bit SP1 >> ... >> >> unpack a .tar.gz file. Please remind me. By trying with Peazip I got it unpacked. Here's what the PKG-INFO file says, whe

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Richard D. Moores
On Thu, Oct 18, 2012 at 5:27 PM, Alan Gauld wrote: > On 19/10/12 01:01, Richard D. Moores wrote: >> >> Python 3.2.3 64 bit >> MS Windows 7 Home Premium 64-bit SP1 >> ... >> >> unpack a .tar.gz file. Please remind me. > > > Winzip or similar should cope in Windows. But a tar.gz is usually intended

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Alan Gauld
On 19/10/12 01:01, Richard D. Moores wrote: Python 3.2.3 64 bit MS Windows 7 Home Premium 64-bit SP1 ... unpack a .tar.gz file. Please remind me. Winzip or similar should cope in Windows. But a tar.gz is usually intended for *nix so unless its pure python it may not work in Windows. You might

Re: [Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Mark Lawrence
On 19/10/2012 01:01, Richard D. Moores wrote: Python 3.2.3 64 bit MS Windows 7 Home Premium 64-bit SP1 I see python-dateutil recommended here from time to time, so I thought I'd try it out. I downloaded python-dateutil-2.1.tar.gz from http://pypi.python.org/pypi/python-dateutil but have forgotte

[Tutor] How to unpack python-dateutil-2.0.tar.gz

2012-10-18 Thread Richard D. Moores
Python 3.2.3 64 bit MS Windows 7 Home Premium 64-bit SP1 I see python-dateutil recommended here from time to time, so I thought I'd try it out. I downloaded python-dateutil-2.1.tar.gz from http://pypi.python.org/pypi/python-dateutil but have forgotten how to unpack a .tar.gz file. Please remind me