global name is not defined - but this is actually a function's name

2007-09-21 Thread Mridula Ramesh
thanks! that fixed it :) -- http://mail.python.org/mailman/listinfo/python-list

Re: global name is not defined - but this is actually a function's name

2007-09-20 Thread Amit Khemka
On 9/21/07, Mridula Ramesh <[EMAIL PROTECTED]> wrote: > hi. > > i'm a beginner and i'm trying to get the hang of classes and functions. my > code looks like this: > > > > class showRecord(main): > def __init__(self): > global gmax > #now to create the screen by placing all the

global name is not defined - but this is actually a function's name

2007-09-20 Thread Mridula Ramesh
hi. i'm a beginner and i'm trying to get the hang of classes and functions. my code looks like this: class showRecord(main): def __init__(self): global gmax #now to create the screen by placing all the widgets rt = Tk() showbuttons() #call the scrolle