osc

Python-osc, add_arg in a for loop

Python-osc, add_arg in a for loop Question: I want to add_arg to my OSC message without knowning the exact length of a list. The thing is, I want to avoid typing my osc message like this: probabilityMSG.add_arg(classProbability[0], arg_type=’f’) probabilityMSG.add_arg(classProbability[1], arg_type=’f’) probabilityMSG.add_arg(classProbability[2], arg_type=’f’) probabilityMSG.add_arg(classProbability[3], arg_type=’f’) So I try to put that add_arg in a for loop. …

Total answers: 1