Re: how to refer to partial list, slice is too slow?

2007-05-10 Thread Martin v. Lo
人言落日是天涯,望极天涯不见家 schrieb: > I'm a python newbie. It seems the slice operation will do copy. > for example: a = [1,2,3,4,5,6,7,8,9,0] b = a[7:] b > [8, 9, 0] a.remove(9) a > [1, 2, 3, 4, 5, 6, 7, 8, 0] b > [8, 9, 0] > > if the list have large members, the slice operatio

Re: SQLObject 0.9.0

2007-05-10 Thread Martin v. Löwis
> For reasons others will know, there are different branches to the > SQLObject project. I think, analogously, python still has an active 2.4 > branch, if that helps make sense of maintaining branches based on > versions. I'm not sure why the announcements aren't bundled into one > because just abo

Re: which is more pythonic/faster append or +=[]

2007-05-10 Thread Alex Martelli
Peter Otten <[EMAIL PROTECTED]> wrote: > Note the -s before the initialization statement that Alex meant to add but > didn't. If that is missing Yep, sorry for erroneously skipping the -s! Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: How to find C source

2007-05-10 Thread Martin v. Löwis
Gabriel Genellina schrieb: > En Thu, 10 May 2007 21:47:39 -0300, <[EMAIL PROTECTED]> escribió: > >> How do I get to the source for parser.suite()? > > Are you looking for function parser_suite in parsermodule.c? To give some URL for convenience: http://svn.python.org/projects/python/trunk/Modul

Simple Tkinter Progress Bar

2007-05-10 Thread Gurpreet Singh
Hi I am a newbie in Python I am creating a simple Tkinter based application. I have written Tkinter GUI source code and the programme logic in the same .py file. I am searching for a way to implement a simple Progress bar for my application. Are there any simple ways of doin it.

Re: How to find C source

2007-05-10 Thread castironpi
On May 10, 8:36 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Thu, 10 May 2007 21:47:39 -0300, <[EMAIL PROTECTED]> escribió: > > > How do I get to the source for parser.suite()? > > Are you looking for function parser_suite in parsermodule.c? > > -- > Gabriel Genellina Looks like -it-.

<    1   2   3