Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #4491
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python@mrabarnett.plus.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'help?': 0.03; 'arguments': 0.05; 'python': 0.07; 'from:addr:python': 0.09; 'output': 0.12; 'borrowed': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:84.92': 0.16; 'received:84.92.122': 0.16; 'received:84.92.122.60': 0.16; 'reply-to:addr:python-list': 0.16; 'subject:command': 0.16; 'input': 0.18; 'command': 0.19; 'usage': 0.20; 'header:In-Reply-To:1': 0.22; 'trying': 0.23; 'script.': 0.23; 'suggests': 0.23; 'received:84': 0.25; 'says': 0.25; 'script': 0.26; "i'm": 0.26; 'string': 0.29; 'error': 0.29; 'hi,': 0.29; 'it.': 0.31; 'are:': 0.31; 'anyone': 0.31; 'to:addr:python- list': 0.32; 'skip:" 10': 0.34; 'file': 0.35; 'header:User- Agent:1': 0.35; 'reply-to:addr:python.org': 0.35; 'subject:with': 0.37; 'run': 0.37; 'but': 0.38; 'skip:" 20': 0.38; 'to:addr:python.org': 0.39; 'give': 0.61; 'reply-to:no real name:2**0': 0.72; 'header:Reply-To:1': 0.72; 'subject:line': 0.73 |
| X-IronPort-Anti-Spam-Filtered | true |
| X-IronPort-Anti-Spam-Result | AtYHANH2vk3Unw4S/2dsb2JhbACYVI1Ld4hxuFiGAASTEooK |
| Date | Mon, 02 May 2011 19:26:34 +0100 |
| From | MRAB <python@mrabarnett.plus.com> |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Running a script with command line arguments |
| References | <314543.11533.qm@web65402.mail.ac4.yahoo.com> |
| In-Reply-To | <314543.11533.qm@web65402.mail.ac4.yahoo.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | python-list@python.org |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1075.1304360797.9059.python-list@python.org> (permalink) |
| Lines | 13 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1304360798 news.xs4all.nl 32470 [::ffff:82.94.164.166]:40838 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:4491 |
Show key headers only | View raw
> Hi,
> I'm new to python and trying to run a borrowed script. The error I
> get suggests that I need to give a proper command to run it. The
> input file is "c26_1plus.csv" and the intended output file is
> "c26_1plus_backbone.csv".
>
> Can anyone help?
>
The usage string in the script says that the required arguments are:
input_file output_file backbone_alpha [file delimiter]
You're providing "input_file" and "output_file" but not "backbone_alpha".
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Running a script with command line arguments MRAB <python@mrabarnett.plus.com> - 2011-05-02 19:26 +0100
csiph-web