Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4491

Re: Running a script with command line arguments

Date 2011-05-02 19:26 +0100
From MRAB <python@mrabarnett.plus.com>
Subject Re: Running a script with command line arguments
References <314543.11533.qm@web65402.mail.ac4.yahoo.com>
Newsgroups comp.lang.python
Message-ID <mailman.1075.1304360797.9059.python-list@python.org> (permalink)

Show all headers | 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


Thread

Re: Running a script with command line arguments MRAB <python@mrabarnett.plus.com> - 2011-05-02 19:26 +0100

csiph-web