annotate pyikriam/lazy/www/README @ 220:5fa938cbe058

Class of account creater
author kevin@tombear.tombears.com
date Tue, 04 Nov 2008 18:28:28 +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