annotate pyikriam/lazy/www/README @ 246:60c4b4b78a01

code clean
author "Hisn Yi, Chen <ossug.hychen@gmail.com>"
date Mon, 01 Dec 2008 00:25:07 +0800
parents a4c364888197
children
rev   line source
62
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
1 Requirements:
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
2
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
3 lxml - python libxml binding
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
4
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
5 it needs to installing the following packages before install lxml.
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
6
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
7 * libxml 2.6.21 or later. It can be found here: http://xmlsoft.org/downloads.html
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
8 * libxslt 1.1.15 or later. It can be found here: http://xmlsoft.org/XSLT/downloads.html
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
9
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
10 If you use Ubuntu, here is what you need to do.
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
11
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
12 $ apt-get install libxml2-dev libxslt1-dev
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
13 $ eazy_install lxml
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
14
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
15 Example:
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
16
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
17 product = c('http://www.google.com.tw').find("/foo/bar/").working_prodcut
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
18 print product.content