[Tutor] Write array to Status text
Vicki Stanfield
vicki at thepenguin.org
Fri Nov 14 14:24:14 EST 2003
I have a program wherein I write to the status bar like this:
self.SetStatusText("This is the status bar")
self.frame.SetStatusText(StatusText)
I also have an array created like this:
while i < 10:
array[i]=value
i = i +1
I would like to write the values in the array to the status bar. I tried:
StatusText=errorarray[0:4]
self.frame.SetStatusText(StatusText)
TypeError: String or Unicode type required
So, how does one convert the values of an array into a string for this
purpose?
--vicki
More information about the Tutor
mailing list