Re: WxPython versus Tkinter.

2011-01-27 Thread alex23
rantingrick wrote: > different choices OUTSIDE the stdlib. INSIDE the stdlib we have no > choice. Just wanted to make that clear. Because packaging a dependency with your application is an arcane art lost to modern times? -- http://mail.python.org/mailman/listinfo/python-list

PSF Sprints - Call For Applications

2011-01-27 Thread Brian Curtin
Hello Python Users! On behalf of the Python Software Foundation’s sponsored sprint group, I wanted to drop your group a quick note introducing us. If you’re already familiar with our sponsored sprints, you’ll be happy to know we made a few changes to help both sprint groups and Python even more.

Re: Bugs/issues in tkinter.simpledialog!!

2011-01-27 Thread rantingrick
On Jan 26, 3:57 pm, Terry Reedy wrote: > On 1/26/2011 11:53 AM, rantingrick wrote: > > To answer your other post, one of the main people to touch tkinter in > the last 3 years was Guilherme Polo, who worked on it during and after a > Google Summer of Code project. He does not seen to be active cur

Re: how to read the last line of a huge file???

2011-01-27 Thread John O'Hagan
On Wed, 26 Jan 2011, Xavier Heruacles wrote: > I have do some log processing which is usually huge. The length of each > line is variable. How can I get the last line?? Don't tell me to use > readlines or something like linecache... file.seek takes an optional 'whence' argument which is 2 for the

dictionary error: list assignment index out of range

2011-01-27 Thread Vaduvoiu Tiberiu
Hy everyone, I'm trying to learng python for a week or two and there's a thing that is really disturbing me as I do not understand what the problem is. I'm trying to use a dictionary to remember when a user has visited a city. Code is really basic: in the class init method I added self.visited

Re: dictionary error: list assignment index out of range

2011-01-27 Thread Vaduvoiu Tiberiu
Well, to quote firefox: this is embarrassing. I've realized the dictionary initialization is wrong, as [] means its a tuple, I should use {}. That's why I don't like working nights..it's only in the morning when you start seeing things better. I apologize for the mail. Cheers _

<    1   2