----- Original Message -----
> From: Jason Tishler <xxx@xxx>
> To: xxx@xxx
> Cc:
> Sent: Tuesday, January 17, 2012 11:23 AM
> Subject: Re: argparse for cygwin python
>
> On Tue, Jan 17, 2012 at 01:04:46PM -0500, LMH wrote:
>> I have a python script and when I try to run it I get an error for no
>> such module, "ImportError: No module named argparse".
>>
>> [snip]
>>
>> Any suggestions?
>
> See the following:
>
> http://docs.python.org/dev/library/argparse.html
>
> argparse is not available until Python 3.2; Cygwin Python is 2.6.
>
No, argparse is included as a standard package in Python 2.7. I use it all the
time. It was introduced in Python 3.x, then backported, IIRC. I keep hoping
Cygwin's python maintainer will update to at least 2.7 ;-)
--Rick
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple