Thanks for the comments... this is a old script. I see it needs updating. My problem is that I am a HTML guy so I can cut and paste! I can do that... hopefully without messing up the script (zipped original folder safely tucked away).
I'll give it a shot.
One question... is session_start(); always needed?
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: