> That same code works in a controller -- it was merely being demonstrated
> in a shell. Instead of urllib.urlopen, you can now use fetch (which also
> works on GAE):
>
> |
> fromgluon.tools importfetch
> page =TAG(fetch('http://www.web2py.com'))
> page.elements('div')# gives you a list of all DIV elements in the page
> (as web2py DIV helper objects)
> |
>
The last days, the mighty pandas has received a new io module:
pandas.io.html.read_html
http://pandas.pydata.org/pandas-docs/dev/generated/pandas.io.html.read_html.html#pandas.io.html.read_html
this makes it so easy to read html tables into a dataframe!
BTW, its there a dataframe.to_DAL method?
A pandas to DAL translator?
--
---
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.