ok - i'm looking in sqlhtml.py and getting some more ideas - along
with wind-ide....

Where could I learn how to better access objects in python?

In wing-ide, for instance it shows:

rows               gluon.sql.SQLRows
  __dict__       dict
     _db            gluon.sql.dict


Where can I learn the ideas behind accessing these pieces and
shortcuts to pieces

I know lists () and dicts{key:valu} somewhat.....

thx,

-wj

On Feb 13, 1:13 pm, Wes James <[email protected]> wrote:
> In def download(self):
>
> I have doing this:
>
>             rows=db(db[t][f]==name).select()
>
>             print rows.xml()
>             print type(rows)
>             print rows
>
> I get this:
>
> <table><thead><tr><th>foto.id</th><th>foto.title</th><th>foto.thumbnail</th><th>foto.image</th><th>foto.filename</th></tr></thead><tbody></tbody></table>
> <class 'gluon.sql.SQLRows'>
> foto.id,foto.title,foto.thumbnail,foto.image,foto.filename
>
> Ok - how do I get to the data in these fields?
>
> I've looked in manual 
> andhttp://mdp.cti.depaul.edu/examples/static/epydoc/gluon.sql.SQLRows-cl...
>
> but don't get how to read the epydoc exactly :(
>
> -wj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to