annotate pyikriam/lazy/www/README @ 334:65f45552060e

fixed travel time
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Thu, 12 Feb 2009 02:48:45 +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