Mercurial > eagle-eye
comparison pyikriam/lazy/www/README @ 62:a4c364888197
add ikriam game binding lib python version
author | hychen@mluna |
---|---|
date | Wed, 22 Oct 2008 04:04:32 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
60:610bbe1824ef | 62:a4c364888197 |
---|---|
1 Requirements: | |
2 | |
3 lxml - python libxml binding | |
4 | |
5 it needs to installing the following packages before install lxml. | |
6 | |
7 * libxml 2.6.21 or later. It can be found here: http://xmlsoft.org/downloads.html | |
8 * libxslt 1.1.15 or later. It can be found here: http://xmlsoft.org/XSLT/downloads.html | |
9 | |
10 If you use Ubuntu, here is what you need to do. | |
11 | |
12 $ apt-get install libxml2-dev libxslt1-dev | |
13 $ eazy_install lxml | |
14 | |
15 Example: | |
16 | |
17 product = c('http://www.google.com.tw').find("/foo/bar/").working_prodcut | |
18 print product.content |