Paned Window Widget Resize/ Refresh Trouble

2007-10-08 Thread Mridula Ramesh
Hi. I am trying to show data using the paned window widget, and am encountering this problem: whenever the vertical/horizontal resizing bars are moved, the widgets and data on the panels are thrown out of alignment and sometimes totally disappear. They only reappear when you sort of drag the panes

Re: Re: Bug: spurious indentation error

2007-09-28 Thread Mridula Ramesh
Hi. Lol, nope, I checked today too, and it happened again. Try running this as a script, not from the prompt - class main(): def __init__(self): rt.geometry("680x600") rt.config(bg="CornSilk") rt.title("my miniscule app") #MENU menu = Menu(rt)

Bug: spurious indentation error

2007-09-28 Thread Mridula Ramesh
hi. is this the right place to report a bug? i had written this by mistake: filemenu = Menu(menu) , bg="White") instead of filemenu = Menu(menu, bg="Pink") and the compiler kept giving me an indentation error in a line much further down which was perfectly okay. i am using python 2.5.1 wi

frame refresh or redraw for records?

2007-09-26 Thread Mridula Ramesh
hi. my actual code is a bit too long to post here, but this is how the code works : the application loads, the first screen appears. it is to view the records in a database, so you can scroll and view records by clicking on the standard navigation buttons ( |<, <<, >>, >| ). the problem is that s

buttons keep jumping, frame loads on top of itself

2007-09-25 Thread Mridula Ramesh
hi. my actual code is a bit too long to post here, but this is how the code works : the application loads, the first screen appears. it is to view the records in a database, so you can scroll and view records by clicking on the standard navigation buttons ( |<, <<, >>, >| ). the problem is that s

Re: calling the function of one class from another class

2007-09-24 Thread Mridula Ramesh
d only then call the function - that worked fine. so a big belated thanks, everyone! On 22/09/2007, Mridula Ramesh <[EMAIL PROTECTED]> wrote: > > hi. > > i currently have code structured like this: > > classA(): > > def __init__(): > > ...

calling the function of one class from another class

2007-09-22 Thread Mridula Ramesh
hi. i currently have code structured like this: classA(): > def __init__(): > .. > .. > > def fnc1(): > > > > > classB(): >def __init__(): > >

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

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

Re: adodb with mysql - connection string syntax for filepath

2007-09-18 Thread Mridula Ramesh
ot yet know which part of that site may help me... And I am now going to struggle with Dive Into Python before attempting much else! This is a nice, helpful mailing group! Thanks again. On 17/09/2007, Mridula Ramesh <[EMAIL PROTECTED]> wrote: > > Dear all, > > Hi. I am not very

adodb with mysql - connection string syntax for filepath

2007-09-16 Thread Mridula Ramesh
Dear all, Hi. I am not very tech-savvy so please pardon me if this is a stupid question: so far I have been googling for about 4 days to find help for this, so now I am desperate! :) How do you use adodb with mysql to connect to a file that is on your machine? Also, could you please recommend to