Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'error:': 0.07; 'found,': 0.07; 'rod': 0.09; 'subject:command': 0.09; 'subject:parsing': 0.09; 'subject:using': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'posted': 0.15; 'access)': 0.16; 'fetch': 0.16; 'subject:options': 0.16; 'unavailable': 0.16; 'url:ftp': 0.16; 'trying': 0.19; 'command': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'error': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'subject: : ': 0.26; 'header:In-Reply-To:1': 0.27; 'patch': 0.29; 'message- id:@mail.gmail.com': 0.30; 'didnt': 0.31; 'file': 0.32; 'running': 0.33; 'older': 0.33; 'subject:the': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; '(e.g.,': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'unable': 0.39; 'yes': 0.68; 'default': 0.69; '2.7.': 0.84; 'freebsd': 0.84; 'url:latest': 0.91; 'browse': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QdAMFa7V6mWg4HsYlZOFCj6Il+q+prvVBwdXQIA6uOk=; b=EGO2O8PfnbZAZnBgco7bGrUHQQmfOHU6qSXrJmLRuC/8/2By0Qa2X6cexmJWLhcqGs MWwmPYIfQmDthOh0xk6otsohQVS4ZliYyW+xh//DLJxcfG/7xzAV5HqPKQ78WNeYE/Qd S+Dp7TJYXkUDr5/ZuEl69JX8sNYOufnh7t1GhfB0nGb1kgjci4HKAsK3/cW80vVz2OJ9 ++R6IHxt3L7TggMAalPtsnijz6k1IN5RsvDi8K99y0mJLp/5MdHieJPGaJeGgSlHY/qB i5pezgNjKzdJWiWoK1WEF/0zLro2FQ8le7R946LUJfKfuesrMQtPiwq/7BDXEQgfX2GM KpQg== MIME-Version: 1.0 X-Received: by 10.112.142.40 with SMTP id rt8mr1518794lbb.52.1393498256031; Thu, 27 Feb 2014 02:50:56 -0800 (PST) In-Reply-To: <9794bf8ec388cbedc2b206adc4d09b5a@rodperson.com> References: <9794bf8ec388cbedc2b206adc4d09b5a@rodperson.com> Date: Thu, 27 Feb 2014 16:20:55 +0530 Subject: Re: Python : parsing the command line options using optparse From: Ganesh Pal To: rodperson@rodperson.com Content-Type: multipart/alternative; boundary=001a11c37ae48bc50404f36118fc Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 92 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393498655 news.xs4all.nl 2886 [2001:888:2000:d::a6]:53547 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67136 --001a11c37ae48bc50404f36118fc Content-Type: text/plain; charset=ISO-8859-1 > > They must be running an older version of FreeBSD since the default version > of python is 2.7. > > There is a FreeBSD package for argparse, the command would be something > like > pkg_add -r install py26-argparse > > > Rod > > Yes Iam running a older version of FreeBSD ( Iam actually running a derivative of FreeBSD ) Thanks for the suggestion I ran the command but I got the below error # pkg_add -r install py26-argparse Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/install.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch ' ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/install.tbz' by URL Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/py26-argparse.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch ' ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7-stable/Latest/py26-argparse.tbz' by URL Iam now trying to browse the link directly didnt find the patch , will keep you posted --001a11c37ae48bc50404f36118fc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

=

They must be running an older version of FreeBSD since the default version = of python is 2.7.

There is a FreeBSD package for argparse, the command would be something lik= e
=A0 =A0pkg_add -r install py26-argparse


Rod




Yes =A0Iam running a= older version of FreeBSD =A0( Iam actually running a=A0derivative of FreeBSD )=
Thanks for the suggestion I ran the =A0command = =A0 but I got the below error =A0

<= /div>
# =A0pkg_add -r install py26-argparse

Iam now trying to browse the link directly didnt find the patch ,= will keep you posted=A0


--001a11c37ae48bc50404f36118fc--