I have a tcl script tclname.tcl calling a python script (helloWorld3.py ) and passing an array
tclname.tcl :
set names(1) Jane
set names(2) Tom
set names(3) Elisabeth
set names(4) Robert
set names(5) Julia
set names(6) Victoria
set output [exec /home/Python-2.7.6/./python /home/mbenabu/vtf/tests/helloWorld3.py $names]
getting error: FATAL: can't read "names": variable is array
is it possible to pass an array from tcl to python?
Thanks,