Easier, and far more useful way is to use epydocs.
http://www.web2py.com/examples/static/epydoc/index.html

I have epydoc open all the time while I am working with web2py. It is
an incredibly useful resource. Though, it would be FAR more useful, if
web2py had better code commenting. My rule for good commenting is 2
lines of comments to 1 line of code (this doesn't mean every line gets
commented...that would be stupid). The way I apply this rule is by
using good doc strings and descriptions of goals at beginning of
functions/methods.




On Sep 22, 3:02 pm, Thadeus Burgess <thadeus.burg...@gmail.com> wrote:
> print dir(form) - to get variables/methods
> print dir(form.attributes) - dict of attributes (formname, id, etc.)
>
> Gotta love the dir command.
>
> -Thadeus
>
> On Tue, Sep 22, 2009 at 4:30 PM, Arvind <arvind.ran...@gmail.com> wrote:
>
> > Hello,
>
> > I have been going through the book, but i dont see a list of complete
> > form objects.
>
> > Where can i find a list of all the objects.
> > With hit and trial, i managed to get form.formname.
> > But how can I get a complete list of the form objects/attributes ?
>
> > thanks
> > Arvind
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to