Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
lxml xpath parse table
reclosedev
Apr 1st, 2012
740
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
import
lxml.
html
doc
=
lxml.
html
.
parse
(
'test.html'
)
rows
=
doc.
xpath
(
'//tr'
)
data
=
[
row.
xpath
(
'./*/text()'
)
for
row
in
rows
]
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
π―π― +50,000$ in 1 monthβ π―β
JavaScript | 1 sec ago | 0.67 KB
π΅π΅π΅ Money Guaranteed Method
JavaScript | 43 sec ago | 0.67 KB
β‘ Earn 8,000$ Monthly Leaked Guide π―π―
JavaScript | 1 min ago | 0.67 KB
Infinite Money Glitch
JavaScript | 1 min ago | 0.67 KB
ββ FREE BTC GUIDE β Working β β
JavaScript | 2 min ago | 0.67 KB
ππ HOW TO EARN $5,000 A WEEK [GUIDE] ππ
JavaScript | 2 min ago | 0.67 KB
π 2OOO$ 15 MIN INSANE METHOD π΅π¨ βπ
JavaScript | 3 min ago | 0.67 KB
πππ $15,000 MONTHLY INCOME METHOD πππ
JavaScript | 3 min ago | 0.67 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!