[Tutor] Attribute.Error: 'list' object has no attribute strip
vicki@stanfield.net
vicki@stanfield.net
Fri Feb 28 15:02:59 2003
Thanks for all the help with the listbox callback
stuff. Now onto something else. I am trying to use the
strip function on the data which is returned from a
getcurselection() call on that same listbox. What is
returned is in the following format (number will vary):
('06',)
I want to get only the number part, so I use the
following:
command=string.strip([(),])
The error I get is
Attribute.Error: 'list' object has no attribute strip
I am including the string module. Can anyone tell me
what I am missing (this time)?
--vicki