Tkinter focus_set use with grid

2006-07-19 Thread Stan Cook
A newbie to Tkinter here. . . . . . I'm trying to set the focus on an Entry textbox with focus_set. I am using the grid manager. I created the same interface before using the pack() method and the focus_set worked, but now it says "AttributeError: 'NoneType' object has no attribute 'focus_s

Another Eclipse Question with Python

2006-06-20 Thread Stan Cook
I followed the help instructions to set a watchpoint for a variable, or at lest I tried. When I hilight the variable and go to the run menu, the "toggle watchpoint" is grayed out and can't be selected as specified. Is this Python related only? Just wondering, I want to use the software with

Re: Python with Eclipse

2006-06-20 Thread Stan Cook
ually click the "X" symbol that closes the debug area!) > > --Jason > > Stan Cook wrote: >> I've been trying to use Eclipse with Python on Linux for a >> while and have noticed something odd. After running the >> code or debugging a few times, its r

Python with Eclipse

2006-06-18 Thread Stan Cook
I've been trying to use Eclipse with Python on Linux for a while and have noticed something odd. After running the code or debugging a few times, its responsiveness gets really bad. Upon checking the equivalent of the task manager, I find several instances of Python running. When I kill the

Re: Database read and write

2006-06-15 Thread Stan Cook
ftc wrote: > Stan Cook a écrit : >> Ok . I know I'm talking ancient history, but some of us are stuck >> working with them. Is there anything for python which will ope, read, >> and write to a Dbase 3 or 4 file? I really need your assistance on >> this one. &g

Database read and write

2006-06-14 Thread Stan Cook
Ok . I know I'm talking ancient history, but some of us are stuck working with them. Is there anything for python which will ope, read, and write to a Dbase 3 or 4 file? I really need your assistance on this one. Regards, Stan -- http://mail.python.org/mailman/listinfo/python-list

Re: how to get the length of a number

2006-06-11 Thread Stan Cook
Saketh wrote: > Stan Cook wrote: >> Can anyone tell me how to get the length of a number. I >> know len(string) will get the length of a string, but it >> doesn't like len(int). I seem to remember something like %s >> string. I tried to set a variable = to %s in

how to get the length of a number

2006-06-11 Thread Stan Cook
Can anyone tell me how to get the length of a number. I know len(string) will get the length of a string, but it doesn't like len(int). I seem to remember something like %s string. I tried to set a variable = to %s int, but that doesn't work. Is there a function I've forgotten about to con

Re: create a text file

2006-06-04 Thread Stan Cook
Fredrik Lundh wrote: > Stan Cook wrote: > >> I'm writing a script to list all of my music files' id3 tags to a >> comma delimited file. The only part I'm missing seems like it should >> be the simplest. I haven't used Python for the last couple of y

create a text file

2006-05-29 Thread Stan Cook
I'm writing a script to list all of my music files' id3 tags to a comma delimited file. The only part I'm missing seems like it should be the simplest. I haven't used Python for the last couple of years. My question is this: When I use os.open(,"w"), I get an error message,TypeError

Working with dbase files

2005-02-27 Thread Stan Cook
Does anyone know how I can access and read data from a dbase (.dbf) file? Regards, Stan -- http://mail.python.org/mailman/listinfo/python-list