There are some huge IDEs like Eclipse with pydev, or Netbeans for Python. They however are very sluggish and force you to create a project for even the smallest test file. Eric isn't quite as sluggish.
I like the fast and nimble IDEs like PyScripter (Windows only), DrPython (only for Python2 right now), SPE (Python2 only at this point), Editra (does not handle console input well, but allows you to test drive different versions of Python quickly), and even the traditional IDLE.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: