There seem to be quite a few problems with this code...
Ronnie Betzen wrote:
#! /usr/bin/env python
import Tkinter
should be
from Tkinter import *
class timer:
def __init__(self):
The next line needs to be after the line 'self.top = Tk()' so Tkinter is initialized when the
variable is c
#! /usr/bin/env python
import Tkinter
class timer:
def __init__(self):
# initialize global variables
self.ckbuttonstatus = IntVar()
# set up main window
self.top = Tk()
self.top.geometry('355x125')
self.top.title(appname)
self.top.resizable