[web2py] Re: python * function in Html Helpers

2011-09-14 Thread Noel Villamor
Interesting! The old: https://groups.google.com/group/web2py/browse_frm/thread/f4475684a88fef17/45622d797458e974?hl=en#45622d797458e974 The new: https://groups.google.com/forum/#!topic/web2py/9EdWhKiP7xc Thanks for clearing up the confusion Anthony. Noel On Sep 15, 9:07 am, Anthony wrote:

Re: [web2py] Re: python * function in Html Helpers

2011-09-14 Thread Anthony
Actually, it shows up as *** in the old Google Groups interface: https://groups.google.com/group/web2py/browse_frm/thread/f4475684a88fef17/45622d797458e974?hl=en#45622d797458e974. The new interface correctly displays only one *. I use the new interface, so saw the intended single *. Anthony

Re: [web2py] Re: python * function in Html Helpers

2011-09-14 Thread António Ramos
What the hell, that was not what i wrote Only one * You have a problem in your email. 2011/9/14 Noel Villamor > > Oh. > > This is what I see: > > """ > Hello, i dont understant quite well how to interpret the *** in this > code: > > table = [['a', 'b'], ['c', 'd']] > 2 >>> print TABLE(***[TR(*

[web2py] Re: python * function in Html Helpers

2011-09-14 Thread Noel Villamor
Oh. This is what I see: """ Hello, i dont understant quite well how to interpret the *** in this code: table = [['a', 'b'], ['c', 'd']] 2 >>> print TABLE(***[TR(***rows) for rows in table]) """ If my eyes don't deceive me, I do see *** in three locations. :) Noel On Sep 14, 10:25 am, Ant

Re: [web2py] Re: python * function in Html Helpers

2011-09-13 Thread António Ramos
Not only web2py is the best framework but this forum is also the best i have ever participated. One for all and all for one. Thank you ALL for your time António 2011/9/13 Anthony > On Tuesday, September 13, 2011 6:11:42 PM UTC-4, Noel Villamor wrote: >> >> >> >> I got the * and the ** explana

[web2py] Re: python * function in Html Helpers

2011-09-13 Thread Anthony
On Tuesday, September 13, 2011 6:11:42 PM UTC-4, Noel Villamor wrote: > > > > I got the * and the ** explanations but António is asking about ***. > Where do you see any mention of ***?

Re: [web2py] Re: python * function in Html Helpers

2011-09-13 Thread Jonathan Lundell
On Sep 13, 2011, at 3:11 PM, Noel Villamor wrote: > I got the * and the ** explanations but António is asking about ***. It was just * in the original message. Must have gotten changed in the replies or something.

[web2py] Re: python * function in Html Helpers

2011-09-13 Thread Noel Villamor
I got the * and the ** explanations but António is asking about ***. On Sep 14, 5:51 am, Anthony wrote: > In Python, if you have a list or tuple, you can precede it with an "*" and > pass it as an argument to a function, and the function will treat it as if > each item in the list were passed

[web2py] Re: python * function in Html Helpers

2011-09-13 Thread Anthony
In Python, if you have a list or tuple, you can precede it with an "*" and pass it as an argument to a function, and the function will treat it as if each item in the list were passed as a separate positional argument (same thing for preceding a dictionary with "**", which will treat the diction