This is more details about my problem, which I running my py script
for my project. Programming in pythoncard that we can develop a GUI
based application easily.

I was assigned dialog.colorDialog(self) return value to a result
object, but I suspect that result.color is the attribute of the result
object that can assign to a string variable.

There is a error prompt from python console "TypeError: list indices
must be integers".
Have any suggestion to solve this problem?

When I print  result.color, it is print out something like (255,0,0).
How to covert result.color into a string?  How to convert a string to
result.color type?

adrian
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to