did you try the web2py book ? start from here 
http://web2py.com/books/default/chapter/29/02/the-python-language

On Monday, July 29, 2013 5:23:41 AM UTC+2, Jorge Caicedo wrote:
>
> For programming in web2py I just need to know Python?, (I'm a beginner 
> with Python but when I try to do something in  WEB2PY it doesn't work like 
> Python)
>
> nota=7
>> print 'Nota:'
>> print nota
>> print '<br>'
>> if nota>=9:
>>     print 'Promocionado'
>> elif nota>=4:
>>     print 'Regular'
>> else:
>>     print 'Reprobado'
>
>
> It makes a mistake when I put that  into default.py
>
> and when I TRY this code:
>
>> def index():
>>      form= FORM(INPUT(_name='valorini', INPUT(_type='submit'))
>>      resultado=valorini*2
>>      
>>     return dict(resultado)  
>
> there is a error too, (with his thing what I wanted to do is that someone 
> write a number and that number will be multiplied by 2.
>
> I'm just don't get how it works and the tutorial  of web2py is not good 
> for people of low level in this stuff.
> Thanks.
>
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to