I am building a GUI for a school-related programming project. I am using a LEDNumberCtrl, and I want to set its value using a variable, but I get an error when I do.
- Code: Select all
"ave" being the variable. Here is the error I get: AttributeError : 'LEDNumberCtrl' object has no attribute 'SetValue(ave)'
I have never used an LED number control before, so this is new. I assume it means that the control doesnt take a variable, and it assumes that it is a string, but it is actually a number. I am sure the solution is simple, but I just don't know where to go with it. Any ideas? Thanks!