On Thu, Jul 18, 2019 at 11:34:09AM -0700, Anirudh Tamsekar wrote:
> My script below is blowing index out of range after adding the args.
> version = sys.argv[1]
> Traceback (most recent call last):
> File "/Users/atamsekar/Projects/PulseSO/trunk/swrelease/samplexls.py",
> line 5, in
> ver
On 18/07/2019 19:34, Anirudh Tamsekar wrote:
> # User Args
>
> version = sys.argv[1]
> build = sys.argv[2]
>
> add_file = (...
> )
> Traceback (most recent call last):
>
> File "/Users/atamsekar/Projects/PulseSO/trunk/swrelease/samplexls.py",
> line 5, in
>
> version = sys.argv[1]
>
>
Hi,
I'm trying to pass arguments to list.
This script needs to generate csv files. I want to pass the version and
build number to the script and it should be passed to the list.
My script below is blowing index out of range after adding the args.
However, if I hardcode the version, it works fin