thnks a lot

2017-11-30 6:36 GMT-05:00 Anthony <abasta...@gmail.com>:
> Note, request.args is an instance of the gluon.storage.List class. It has a
> __call__ method, so in addition to acting like a standard Python list, it
> can be called like a function.
>
> Anthony
>
>
> On Wednesday, November 29, 2017 at 7:10:19 PM UTC-5, Dave S wrote:
>>
>>
>>
>> On Wednesday, November 29, 2017 at 8:19:57 AM UTC-8, Massimiliano wrote:
>>>
>>> Try it without passing the args
>>>
>>> def test():
>>>     print request.args(0) #return None
>>>     print request.args[0] #fail
>>>
>>
>> That's "fail" as in "ticket issued", because of array bounds error.  Also,
>> on the grammar level, that's an array reference and the other is a function
>> ... and Anthony has posted about the additional parameters the function has.
>>
>> /dps
>>
>>> On Wed, Nov 29, 2017 at 5:16 PM, Yoel Benitez Fonseca <yben...@gmail.com>
>>> wrote:
>>>>
>>>> ¿What is the diff?
>>>>
>>>> --
>>>> Msc. Yoel Benítez Fonseca
>>>>
>>>> --
>>>> Resources:
>>>> - http://web2py.com
>>>> - http://web2py.com/book (Documentation)
>>>> - http://github.com/web2py/web2py (Source code)
>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "web2py-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to web2py+un...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>>
>>> --
>>> Massimiliano
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Msc. Yoel Benítez Fonseca

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to