annotate pyikriam/example.py @ 115:34ebf346f5b9

changed usebot.sh
author billy3321@f3svr.f3.csu.edu.tw.f3.csu.edu.tw
date Thu, 30 Oct 2008 12:11:34 +0800
parents 19d2a7b175b3
children 7551342718b6
rev   line source
62
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
1 from __init__ import Ikariam
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
2
64
19d2a7b175b3 Load configure data from .eagleeye.pm
kevin@localhost.localdomain
parents: 62
diff changeset
3 i = Ikariam()
62
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
4 city = i.city(117261)
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
5 city.sync()
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
6 print 'gold is'+city.gold