Since you don't care about seeing the widgets or updating the values while the Sound is playing, you could alternatively change your Python script to write the values out to a .txt file. Then you could read the text file in Kyma using a Script module or a MIDIVoice module's Script field.
Depending on how you plan to use the array of numbers, there is also an option in the Wave Editor to read numbers from a text file and turn them into a Samples file.
See Jon Bellona's articles in INSIGHTS magazine for some tutorial examples.