Jun-26-2018, 01:57 PM
Hi pat
Try to rewrite your script:
a) using instead of from Tkinter import * -> import Tkinter as tk
b) without any global statement
c) the class name starting with a capital letter
d) forget the following construct:
Try to rewrite your script:
a) using instead of from Tkinter import * -> import Tkinter as tk
b) without any global statement
c) the class name starting with a capital letter
d) forget the following construct:
while True: Button(root, text="run", command=p.creat).pack() Button(root, text="+++", command=p.plus).pack() Button(root, text="update", command=update).pack() Button(root, text="kill", command=p.kill).pack() Button(root, text="Quit", command=quit).pack() root.mainloop()wuf ;-)