On Sun, Apr 26, 2009 at 4:45 PM, weheh <richard_gor...@verizon.net> wrote:
> I tried your suggestion but it didn't do a lot to clarify for me. I'm
> interested in learning the exact python terminology to refer to day
> and day(). Is day() a method of db.a.dts class? Is day an element of
> request.now?

Try dir(X), help(X), type(X) where X is:
db.tables
db.a
db.a.dts
db.a.dts.day()
request.now
request.now.day

and read class SQLDB in gluon/sql.py (pay attention in function define_table).

I suggest you to learn some Python introspection things.

-- 
 Álvaro Justen
 Peta5 - Telecomunicações e Software Livre
 21 3021-6001 / 9898-0141
 http://www.peta5.com.br/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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