Re: problem in reading indices

2007-12-13 Thread Bjoern Schliessmann
Xavier Barthelemy wrote: > so when I call another array with these indices > ArrayWithData[i,int(choice[i].current[0])] You don't "call" "arrays" "with indices". You are indexing the list ArrayWithData using the index "i,int(blah)" which is invalid. Indices must be integers, not comma seperated v

Re: problem in reading indices

2007-12-13 Thread Bruno Desthuilliers
Xavier Barthelemy a écrit : > Hi all > > I'm becoming mad, because I can't see what's wrong: > > I am constructing a GUI, to plot some data. > so let's have a look of what's wrong: > > > > in my code I have a variable named choice[i].current which is the > current selection of the i-th Listbox

problem in reading indices

2007-12-13 Thread Xavier Barthelemy
Hi all I'm becoming mad, because I can't see what's wrong: I am constructing a GUI, to plot some data. so let's have a look of what's wrong: in my code I have a variable named choice[i].current which is the current selection of the i-th Listbox object. it is a tuple, with one element. so when