i changed to another function "reload", so i can open my index in the
browser

executing  python web2py.py -S myapp/default/reload -M -A aaaa

i get the error
reload() takes exactly 1 argument (0 given)


Thank you
António

Em 4 de abril de 2012 16:31, António Ramos <[email protected]> escreveu:

> my index
>
> def index(temp='None'):
> ...
>
>
> python web2py.py -S myapp/default/index -M -A aaaa
>
> does not send aaa to index function
> Index function temp variable has None and not aaaa
>
>
> Thank you
> António
>
>
>
> 2012/4/4 Massimo Di Pierro <[email protected]>
>
>> web2py.py -S app -M -N -R script.py -A args1 args2 ...
>>
>>
>> On Wednesday, 4 April 2012 08:55:52 UTC-5, Ramos wrote:
>>>
>>> hello i have this command line
>>>
>>> python web2py -S app/controller/function -M
>>> It works ok
>>>
>>> Now i want ( I NEED!) to pass arguments to mu "function"
>>>
>>> How to?
>>>
>>> thank you
>>>
>>> António
>>>
>>
>

Reply via email to