hi all,
when i am running a Python script that i made, i get a list as a result
( i do not know the number of items stored in that list )
i am using a unix script to control various pieces of code,
sometime i call this python script,
HOW can i store the result of the python script
INTO an array defined in my unix script ?
( i have tried also to define an array in the unix script, for example set -a colors BLUE YELLOW GREY but when i do echo $colors or echo ${colors[1]},
it does not display anything
)
thanx
when i am running a Python script that i made, i get a list as a result
( i do not know the number of items stored in that list )
i am using a unix script to control various pieces of code,
sometime i call this python script,
HOW can i store the result of the python script
INTO an array defined in my unix script ?
( i have tried also to define an array in the unix script, for example set -a colors BLUE YELLOW GREY but when i do echo $colors or echo ${colors[1]},
it does not display anything
thanx